Commits

astro1138 committed 0f26ecc

replace Like/Hate to more neutral Vote up/down to encourage voting

for f in `find src -type f`;do sed -ie 's/I like it/Vote up/' $f;done
for f in `find src -type f`;do sed -ie 's/I hate it/Vote down/' $f;done

  • Participants
  • Parent commits 1bb339e

Comments (0)

Files changed (6)

File src/pentasubmitter/templates/main.html

                         Votes <span id="score814" >0</span> points after <span id="num_votes814" >0</span> votes
                     </strong>
                     <br />
-                    <a href="#" onclick="vote('814', 'up');" >I like it!</a>
-                    <a href="#" onclick="vote('814', 'down');" >I hate it!</a>
+                    <a href="#" onclick="vote('814', 'up');" >Vote up!</a>
+                    <a href="#" onclick="vote('814', 'down');" >Vote down!</a>
                     <a href="#" onclick="vote('814', 'clear');" >Clear my vote.</a>
                 </p>
             </div>
                 <strong>Votes <span id="score813" >0</span> points
                     after <span id="num_votes813" >0</span> votes</strong>
                 <p>
-                    <a href="#" onclick="vote('813', 'up');" >I like it!</a>
-                    <a href="#" onclick="vote('813', 'down');" >I hate it!</a>
+                    <a href="#" onclick="vote('813', 'up');" >Vote up!</a>
+                    <a href="#" onclick="vote('813', 'down');" >Vote down!</a>
                     <a href="#" onclick="vote('813', 'clear');" >Clear my vote.</a>
                 </p>
             </div>

File src/pentasubmitter/templates/static/js/update.js

                         + '<a href="/submit/update/' + this.pk + '">[update]</a>'
                         + '<strong>Votes <span id="score">' + this.extras.score + '</span> points '
                         + 'after <span id="num_votes">' + this.extras.num_votes + '</span> votes</strong>'
-                        + '<a href="" onclick="vote(\'' + this.pk + '\', \'up\');">I like it!</a>'
+                        + '<a href="" onclick="vote(\'' + this.pk + '\', \'up\');">Vote up!</a>'
                         + '<br />'
-                        + '<a href="" onclick="vote(\'' + this.pk + '\', \'down\');">I hate it!</a>'
+                        + '<a href="" onclick="vote(\'' + this.pk + '\', \'down\');">Vote down!</a>'
                         + '<a href="" onclick="vote(\'' + this.pk + '\', \'clear\');">Clear my vote.</a>'
                         + '</p>'
                         + '</div>'

File src/show/templates/show/list_entries.html

                 <strong>Votes <span id="score{{item.id}}">{{ score.score }}</span> point{{ score.score|pluralize }}
                          after <span id="num_votes{{item.id}}">{{ score.num_votes }}</span> vote{{ score.num_votes|pluralize }}</strong>
                 <br />
-                <a href="#" onclick="vote('{{ item.id }}', 'up');">I like it!</a>
-                <a href="#" onclick="vote('{{ item.id }}', 'down');">I hate it!</a>
+                <a href="#" onclick="vote('{{ item.id }}', 'up');">Vote up!</a>
+                <a href="#" onclick="vote('{{ item.id }}', 'down');">Vote down!</a>
                 <a href="#" onclick="vote('{{ item.id }}', 'clear');">Clear my vote.</a>
                 <br />
                 <a href="/submit/news_per_show/{{ item.slug }}">News</a>

File src/submitter/templates/submitter/list_entries.html

                 <strong>Votes <span id="score{{item.id}}">{{ score.score }}</span> point{{ score.score|pluralize }}
                          after <span id="num_votes{{item.id}}">{{ score.num_votes }}</span> vote{{ score.num_votes|pluralize }}</strong>
                 <br />
-                <a href="#" onclick="vote('{{ item.id }}', 'up');">I like it!</a>
-                <a href="#" onclick="vote('{{ item.id }}', 'down');">I hate it!</a>
+                <a href="#" onclick="vote('{{ item.id }}', 'up');">Vote up!</a>
+                <a href="#" onclick="vote('{{ item.id }}', 'down');">Vote down!</a>
                 <a href="#" onclick="vote('{{ item.id }}', 'clear');">Clear my vote.</a>
             </p>
         </div>

File src/submitter/templates/submitter/list_entries_per_category.html

                 <strong>Votes <span id="score{{item.id}}">{{ score.score }}</span> point{{ score.score|pluralize }}
                          after <span id="num_votes{{item.id}}">{{ score.num_votes }}</span> vote{{ score.num_votes|pluralize }}</strong>
                 <br />
-                <a href="#" onclick="vote('{{ item.id }}', 'up');">I like it!</a>
-                <a href="#" onclick="vote('{{ item.id }}', 'down');">I hate it!</a>
+                <a href="#" onclick="vote('{{ item.id }}', 'up');">Vote up!</a>
+                <a href="#" onclick="vote('{{ item.id }}', 'down');">Vote down!</a>
                 <a href="#" onclick="vote('{{ item.id }}', 'clear');">Clear my vote.</a>
             </p>
         </div>

File src/submitter/templates/submitter/list_shows.html

                     Votes <span id="score814" >0</span> points after <span id="num_votes814" >0</span> votes
             </strong>
             <br />
-            <a href="#" onclick="vote('{{ item.id }}', 'up');">I like it!</a>
-            <a href="#" onclick="vote('{{ item.id }}', 'down');">I hate it!</a>
+            <a href="#" onclick="vote('{{ item.id }}', 'up');">Vote up!</a>
+            <a href="#" onclick="vote('{{ item.id }}', 'down');">Vote down!</a>
             <a href="#" onclick="vote('{{ item.id }}', 'clear');">Clear my vote.</a>
          </p>
     </div>