Minor template fixes.
This commit is contained in:
parent
81b82c559d
commit
210df06c76
@ -64,7 +64,7 @@
|
|||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<a href="{% url 'print_assignment' assignment.id %}" class="btn btn-mini" title="{% trans 'Print election as PDF' %}">
|
<a href="{% url 'print_assignment' assignment.id %}" class="btn btn-mini" title="{% trans 'Print election as PDF' %}">
|
||||||
<i class="icon-print"></i>
|
<i class="icon-print"></i> PDF
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
|
@ -158,9 +158,9 @@
|
|||||||
{{ poll.get_ballot }}. {% trans 'ballot' %}
|
{{ poll.get_ballot }}. {% trans 'ballot' %}
|
||||||
{% if perms.assignment.can_manage_assignment %}
|
{% if perms.assignment.can_manage_assignment %}
|
||||||
<br>
|
<br>
|
||||||
<a class="publish_link btn btn-mini {% if poll.published %}btn-primary{% endif %}"
|
<a class="publish_link btn btn-mini btn-danger {% if poll.published %}btn-primary{% endif %}"
|
||||||
href="{% url 'assignment_poll_publish_status' poll.id %}"
|
href="{% url 'assignment_poll_publish_status' poll.id %}"
|
||||||
rel="tooltip" data-original-title="{% trans 'Publish/unpublish results' %}">
|
rel="tooltip" data-original-title="{% trans 'Publish results' %}">
|
||||||
{% if poll.published %}
|
{% if poll.published %}
|
||||||
<i class="icon-checked-new_white"></i>
|
<i class="icon-checked-new_white"></i>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<h1>{% trans 'Media' %}
|
<h1>{% trans 'Media' %}
|
||||||
<small class="pull-right">
|
<small class="pull-right">
|
||||||
{% if perms.mediafile.can_upload %}
|
{% if perms.mediafile.can_upload %}
|
||||||
<a href="{% url 'mediafile_create' %}" class="btn btn-mini" rel="tooltip" data-original-title="{% trans 'New media' %}"><i class="icon-plus"></i> {% trans "New" %}</a>
|
<a href="{% url 'mediafile_create' %}" class="btn btn-mini btn-primary" rel="tooltip" data-original-title="{% trans 'New media' %}"><i class="icon-plus icon-white"></i> {% trans "New" %}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</small>
|
</small>
|
||||||
</h1>
|
</h1>
|
||||||
|
@ -87,12 +87,10 @@
|
|||||||
<a href="{% model_url motion 'edit' %}" title="{% trans 'Edit' %}" class="btn btn-mini">
|
<a href="{% model_url motion 'edit' %}" title="{% trans 'Edit' %}" class="btn btn-mini">
|
||||||
<i class="icon-pencil"></i>
|
<i class="icon-pencil"></i>
|
||||||
</a>
|
</a>
|
||||||
{% if "delete" in useractions %}
|
|
||||||
<a href="{% model_url motion 'delete' %}" title="{% trans 'Delete' %}" class="btn btn-mini">
|
<a href="{% model_url motion 'delete' %}" title="{% trans 'Delete' %}" class="btn btn-mini">
|
||||||
<i class="icon-remove"></i>
|
<i class="icon-remove"></i>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
|
||||||
<a href="{% url 'motion_detail_pdf' motion.id %}" class="btn btn-mini" title="{% trans 'Print motion as PDF' %}">
|
<a href="{% url 'motion_detail_pdf' motion.id %}" class="btn btn-mini" title="{% trans 'Print motion as PDF' %}">
|
||||||
<i class="icon-print"></i> PDF
|
<i class="icon-print"></i> PDF
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user