Fixed merged errors.

This commit is contained in:
Emanuel Schuetze 2013-01-02 23:22:12 +01:00
parent 4ae7f3e243
commit d671740966
8 changed files with 15 additions and 14 deletions

View File

@ -19,7 +19,7 @@
{% trans "New motion" %}
{% endif %}
<small class="pull-right">
<a href="{% url application_overview %}" class="btn btn-mini"><i class="icon-chevron-left"></i> {% trans "Back to overview" %}</a>
<a href="{% url motion_overview %}" class="btn btn-mini"><i class="icon-chevron-left"></i> {% trans "Back to overview" %}</a>
</small>
</h1>
<form action="" method="post">{% csrf_token %}

View File

@ -7,7 +7,7 @@
{% block content %}
<h1>{% trans "Import motions" %}
<small class="pull-right">
<a href="{% url application_overview %}" class="btn btn-mini"><i class="icon-chevron-left"></i> {% trans "Back to overview" %}</a>
<a href="{% url motion_overview %}" class="btn btn-mini"><i class="icon-chevron-left"></i> {% trans "Back to overview" %}</a>
</small>
</h1>
@ -40,7 +40,7 @@
<button class="btn btn-primary" type="submit">
{% trans 'Import' %}
</button>
<a href='{% url motionn_overview %}' class="btn">
<a href='{% url motion_overview %}' class="btn">
{% trans 'Cancel' %}
</a>
</div>

View File

@ -10,13 +10,13 @@
<h1>
{% trans "Motions" %}
<small class="pull-right">
{% if perms.application.can_create_application %}
<a href="{% url application_new %}" class="btn btn-mini" rel="tooltip" data-original-title="{% trans 'New motion' %}"><i class="icon-plus"></i> {% trans "New" %}</a>
{% if perms.motion.can_create_motion %}
<a href="{% url motion_new %}" class="btn btn-mini" rel="tooltip" data-original-title="{% trans 'New motion' %}"><i class="icon-plus"></i> {% trans "New" %}</a>
{% endif %}
{% if perms.application.can_manage_application %}
<a href="{% url application_import %}" class="btn btn-mini" rel="tooltip" data-original-title="{% trans 'Import motions' %}"><i class="icon-share-alt"></i> {% trans 'Import' %}</a>
{% if perms.motion.can_manage_motion %}
<a href="{% url motion_import %}" class="btn btn-mini" rel="tooltip" data-original-title="{% trans 'Import motions' %}"><i class="icon-share-alt"></i> {% trans 'Import' %}</a>
{% endif %}
<a href="{% url print_applications %}" class="btn btn-mini" rel="tooltip" data-original-title="{% trans 'Print all motions as PDF' %}"><i class="icon-print"></i> PDF</a>
<a href="{% url print_motions %}" class="btn btn-mini" rel="tooltip" data-original-title="{% trans 'Print all motions as PDF' %}"><i class="icon-print"></i> PDF</a>
</small>
</h1>

View File

@ -15,7 +15,7 @@
</small>
<small class="pull-right">
<div class="btn-toolbar">
<a href="{% url application_view application.id %}" class="btn btn-mini"><i class="icon-chevron-left"></i> {% trans "Back to motion" %}</a>
<a href="{% url motion_view motion.id %}" class="btn btn-mini"><i class="icon-chevron-left"></i> {% trans "Back to motion" %}</a>
<div class="btn-group">
<a data-toggle="dropdown" href="#" class="btn btn-mini dropdown-toggle">
{% trans 'More actions' %}
@ -24,12 +24,12 @@
<ul class="dropdown-menu pull-right">
<!-- delete -->
{% if "delete" in actions %}
<li><a href="{% url application_poll_delete poll.id %}"><i class="icon-remove"></i> {% trans 'Delete Vote' %}</a></li>
<li><a href="{% url motion_poll_delete poll.id %}"><i class="icon-remove"></i> {% trans 'Delete Vote' %}</a></li>
{% endif %}
<!-- activate projector -->
{% if perms.projector.can_manage_projector %}
<li>
<a class="activate_link {% if item.active %}active{% endif %}" href="{% url projector_activate_slide application.sid %}"><i class="icon-facetime-video"></i> {% trans 'Show Application' %}</a>
<a class="activate_link {% if item.active %}active{% endif %}" href="{% url projector_activate_slide motion.sid %}"><i class="icon-facetime-video"></i> {% trans 'Show motion' %}</a>
</li>
{% endif %}
</ul>

View File

@ -941,6 +941,7 @@ def register_tab(request):
selected = True if request.path.startswith('/motion/') else False
return Tab(
title=_('Motions'),
app='motion',
url=reverse('motion_overview'),
permission=request.user.has_perm('motion.can_see_motion') or request.user.has_perm('motion.can_support_motion') or request.user.has_perm('motion.can_support_motion') or request.user.has_perm('motion.can_manage_motion'),
selected=selected,

View File

@ -10,7 +10,7 @@
<link rel="shortcut icon" href="{% static 'images/favicon.png' %}" type="image/png" />
<script type="text/javascript" src="{% static 'javascript/jquery.js' %}"></script>
<script type="text/javascript" src="{% static 'javascript/projector.js' %}"></script>
<title>{% block title %} {% get_config 'event_name' %} {% endblock %}</title>
<title>XX{% block title %} {% get_config 'event_name' %} {% endblock %}</title>
{% block header %}
{% endblock %}
</head>

View File

@ -1,4 +1,4 @@
{% extends "base.html" %}
{% extends "base-projector.html" %}
{% load tags %}
{% load i18n %}

View File

@ -209,7 +209,7 @@ form .required label:after {
.icon-agenda {
background-position: -264px 0;
}
.icon-application, .icon-applications {
.icon-motion, .icon-motions {
background-position: -24px -24px;
}
.icon-assignment, .icon-assignments {