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" %} {% trans "New motion" %}
{% endif %} {% endif %}
<small class="pull-right"> <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> </small>
</h1> </h1>
<form action="" method="post">{% csrf_token %} <form action="" method="post">{% csrf_token %}

View File

@ -7,7 +7,7 @@
{% block content %} {% block content %}
<h1>{% trans "Import motions" %} <h1>{% trans "Import motions" %}
<small class="pull-right"> <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> </small>
</h1> </h1>
@ -40,7 +40,7 @@
<button class="btn btn-primary" type="submit"> <button class="btn btn-primary" type="submit">
{% trans 'Import' %} {% trans 'Import' %}
</button> </button>
<a href='{% url motionn_overview %}' class="btn"> <a href='{% url motion_overview %}' class="btn">
{% trans 'Cancel' %} {% trans 'Cancel' %}
</a> </a>
</div> </div>

View File

@ -10,13 +10,13 @@
<h1> <h1>
{% trans "Motions" %} {% trans "Motions" %}
<small class="pull-right"> <small class="pull-right">
{% if perms.application.can_create_application %} {% if perms.motion.can_create_motion %}
<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> <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 %} {% endif %}
{% if perms.application.can_manage_application %} {% if perms.motion.can_manage_motion %}
<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> <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 %} {% 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> </small>
</h1> </h1>

View File

@ -15,7 +15,7 @@
</small> </small>
<small class="pull-right"> <small class="pull-right">
<div class="btn-toolbar"> <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"> <div class="btn-group">
<a data-toggle="dropdown" href="#" class="btn btn-mini dropdown-toggle"> <a data-toggle="dropdown" href="#" class="btn btn-mini dropdown-toggle">
{% trans 'More actions' %} {% trans 'More actions' %}
@ -24,12 +24,12 @@
<ul class="dropdown-menu pull-right"> <ul class="dropdown-menu pull-right">
<!-- delete --> <!-- delete -->
{% if "delete" in actions %} {% 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 %} {% endif %}
<!-- activate projector --> <!-- activate projector -->
{% if perms.projector.can_manage_projector %} {% if perms.projector.can_manage_projector %}
<li> <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> </li>
{% endif %} {% endif %}
</ul> </ul>

View File

@ -941,6 +941,7 @@ def register_tab(request):
selected = True if request.path.startswith('/motion/') else False selected = True if request.path.startswith('/motion/') else False
return Tab( return Tab(
title=_('Motions'), title=_('Motions'),
app='motion',
url=reverse('motion_overview'), 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'), 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, selected=selected,

View File

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

View File

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

View File

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