Merge pull request #594 from emanuelschuetze/last-1.4a1-changes

Fixed #553: Switch projector control scroll arrows
This commit is contained in:
Oskar Hahn 2013-04-15 13:08:19 -07:00
commit 329e488cf2
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':