Commit 79238831 authored by Gil Forcada's avatar Gil Forcada

Removed superfluous trailing spaces (on templates)

parent d7129a86
......@@ -6,9 +6,9 @@
{% block extrahead %}
<script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.tablesorter.min.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
$("#stats-table").tablesorter({sortList: [[0,0]]});
$(document).ready(function()
{
$("#stats-table").tablesorter({sortList: [[0,0]]});
}
);
</script>
......
......@@ -22,7 +22,7 @@
<li>
<a href="{{ lang.get_team_url }}">{{ lang.get_name }}</a>
<a href="/rss/languages/{{ lang.locale }}">
<img width="10" height="10" border="0" src="{{ MEDIA_URL }}img/feed-icon-10x10.png"/>
<img width="10" height="10" border="0" src="{{ MEDIA_URL }}img/feed-icon-10x10.png"/>
</a>
</li>
{% endfor %}
......
......@@ -5,12 +5,12 @@
{% block extrahead %}
<script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.tablesorter.min.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
$(document).ready(function()
{
$("#stats-table").tablesorter({headers: {3:{sorter: false}, 5:{sorter:"text"}}});
$("#stats-table").bind("sortStart",function() {
$("#stats-table").bind("sortStart",function() {
/* Hide category subheaders when sorting */
$("tr.subheader").hide();
$("tr.subheader").hide();
})
}
);
......
......@@ -20,7 +20,7 @@ Following variables should be set:
<td class="leftcell">
{{ stat.description }}</a>
</td>
<td class="stats_numb"><a href="{% url language_release lang.locale,stat.name,"ui" %}">
{{ stat.uitransperc }}% ({{ stat.uitrans }}/{{ stat.uifuzzy }}/{{ stat.uiuntrans }})</a>
</td>
......
......@@ -18,7 +18,7 @@
<label for="id_username">{% trans 'Username:' %}</label> <input type="text" name="username" id="id_username" />
</div>
<div class="form-row">
<label for="id_password">{% trans 'Password:' %}</label> <input type="password" name="password" id="id_password" />
<label for="id_password">{% trans 'Password:' %}</label> <input type="password" name="password" id="id_password" />
<span class="help"><a href="/password_reset/">{% trans 'Have you forgotten your password?' %}</a></span>
<input type="hidden" name="this_is_the_login_form" value="1" />
......
......@@ -7,7 +7,7 @@
{% block extrahead %}
<script type="text/javascript">
$(document).ready(function() {
$(document).ready(function() {
$(".branch").click(function(event) {
event.preventDefault();
branch_div = $("#div-"+this.id.replace(".","\\."));
......
......@@ -8,7 +8,7 @@
<h1><a href="{% url stats.views.module module.name %}">{{ module.description }}</a> {% trans stat.domain.description %} ({% trans stat.language.name %})</h1>
<h2>{% trans "Figures translation status" %} &mdash;
<h2>{% trans "Figures translation status" %} &mdash;
<small>{{ figstats|num_stats }}</small></h2>
<table class="stats">
......
......@@ -6,8 +6,8 @@
{% block extrahead %}
<script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.tablesorter.min.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
$(document).ready(function()
{
$("#working_on").tablesorter({
headers: {
0: { sorter:'text' }
......
......@@ -22,7 +22,7 @@
<img src="{{ MEDIA_URL }}img/nobody.png" alt="" />
{% endif %}
<a class="name" href="{{ person.get_absolute_url }}">{{ person.name }}</a><br />
{% if person.webpage_url %}
<a href="{{ person.webpage_url }}">{{ person.webpage_url }}</a><br />
{% endif %}
......
......@@ -29,7 +29,7 @@
<li><em>{{ person.irc_nick }}</em> (IRC)</li>
</ul>
{% endif %}
{% if person.no_spam_bugzilla_account %}
<strong>{% trans "Bugzilla account:" %}</strong> {{ person.no_spam_bugzilla_account }}<br />
{% endif %}
......
......@@ -6,8 +6,8 @@
{% block extrahead %}
<script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.tablesorter.min.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
$(document).ready(function()
{
$("#stats").tablesorter({sortList: [[0,0]]});
}
);
......
......@@ -30,7 +30,7 @@
<td class="leftcell">
<a href="{% url team_slug lstats.lang_locale %}">{% trans lstats.lang_name %}</a>
</td>
<td class="stats_numb"><a href="{% url language_release lstats.lang_locale release.name "ui" %}">
{{ lstats.ui_percent }}% ({{ lstats.ui_trans }}/{{ lstats.ui_fuzzy }}/{{ lstats.ui_untrans }})</a>
</td>
......@@ -53,7 +53,7 @@
{% else %}
<td>-</td>
{% endif %}
<td style="width: 108px; text-align: center;">
<div class="graph">
<div class="translated" style="width: {{ lstats.doc_percent }}px;"></div>
......@@ -63,7 +63,7 @@
{% endwith %}
</div>
</td>
</tr>
{% endfor %}
<tr><td colspan="5"><hr></td></tr>
......
......@@ -11,7 +11,7 @@
</h2>
{% if team.webpage_url %}
<strong>{% blocktrans %}{{ lang }} Translation Team Page:{% endblocktrans %}</strong>
<strong>{% blocktrans %}{{ lang }} Translation Team Page:{% endblocktrans %}</strong>
<a href="{{ team.webpage_url }}">{{ team.webpage_url }}</a><br />
{% endif %}
......@@ -30,7 +30,7 @@
{% endif %}
</ul>
{% endif %}
</td><td valign="top">
{% if team.get_coordinator %}
<h2>{% trans "Coordinator" %}</h2>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment