Fixed #553: Switch projector control scroll arrows

This commit is contained in:
Emanuel Schuetze 2013-04-15 22:04:59 +02:00
parent 1e8e5334a5
commit e81ed882ca
2 changed files with 4 additions and 4 deletions

View File

@ -13,10 +13,10 @@
</a>
</p>
<p>
<a class="projector_edit btn btn-mini" href="{% url 'projector_up' %}" title="{% trans 'Scroll text up' %}">
<a class="projector_edit btn btn-mini" href="{% url 'projector_up' %}" title="{% trans 'Scroll visible view up' %}">
<i class="icon-arrow-up"></i>
</a><br>
<a class="projector_edit btn btn-mini" href="{% url 'projector_down' %}" title="{% trans 'Scroll text down' %}">
<a class="projector_edit btn btn-mini" href="{% url 'projector_down' %}" title="{% trans 'Scroll visible view down' %}">
<i class="icon-arrow-down"></i>
</a>
</p>

View File

@ -216,9 +216,9 @@ class ProjectorEdit(RedirectView):
config['bigger'] = int(config['bigger']) + 20
elif direction == 'smaller':
config['bigger'] = int(config['bigger']) - 20
elif direction == 'up':
config['up'] = int(config['up']) - 10
elif direction == 'down':
config['up'] = int(config['up']) - 10
elif direction == 'up':
if config['up'] < 0:
config['up'] = int(config['up']) + 10
elif direction == 'clean':