Show clickable done action in first column in agenda overview.
This commit is contained in:
parent
ddeaea88c4
commit
0657ff340d
@ -1,5 +1,5 @@
|
|||||||
a.close_link.closed span {
|
a.close_link.closed span {
|
||||||
background-image: url(../images/icons/user-offline.png);
|
background-image: url(../images/icons/task-complete-grey.png);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
width: 16px;
|
width: 16px;
|
||||||
@ -7,7 +7,7 @@ a.close_link.closed span {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
a.close_link.open span {
|
a.close_link.open span {
|
||||||
background-image: url(../images/icons/user-online.png);
|
background-image: url(../images/icons/task-complete.png);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
width: 16px;
|
width: 16px;
|
||||||
|
@ -4,8 +4,12 @@
|
|||||||
<tr class="draggable{% cycle ' odd' '' %}
|
<tr class="draggable{% cycle ' odd' '' %}
|
||||||
{% if item.active %}activeline{% endif %}">
|
{% if item.active %}activeline{% endif %}">
|
||||||
<td>
|
<td>
|
||||||
{% if item.closed %}
|
{% if perms.agenda.can_manage_agenda %}
|
||||||
<img src="{% static 'images/icons/task-complete.png' %}" title="{% trans 'Item closed' %}">
|
<a class="close_link {% if item.closed %}closed{% else %}open{% endif %}" href="{% if item.closed %}{% url item_open item.id %}{% else %}{% url item_close item.id %}{% endif %}">
|
||||||
|
<span></span>
|
||||||
|
</a>
|
||||||
|
{% elif item.closed %}
|
||||||
|
<img src="{% static 'images/icons/task-complete.png' %}" title="{% trans 'Item closed' %}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
@ -22,9 +26,6 @@
|
|||||||
{% if perms.agenda.can_manage_agenda %}
|
{% if perms.agenda.can_manage_agenda %}
|
||||||
<a href="{% url item_edit item.id %}"><img src="{% static 'images/icons/document-edit.png' %}" title="{% trans 'Edit item' %}"></a>
|
<a href="{% url item_edit item.id %}"><img src="{% static 'images/icons/document-edit.png' %}" title="{% trans 'Edit item' %}"></a>
|
||||||
<a href="{% url item_delete item.id %}"><img src="{% static 'images/icons/edit-delete.png' %}" title="{% trans 'Delete item' %}"></a>
|
<a href="{% url item_delete item.id %}"><img src="{% static 'images/icons/edit-delete.png' %}" title="{% trans 'Delete item' %}"></a>
|
||||||
<a class="close_link {% if item.closed %}closed{% else %}open{% endif %}" href="{% if item.closed %}{% url item_open item.id %}{% else %}{% url item_close item.id %}{% endif %}">
|
|
||||||
<span></span>
|
|
||||||
</a>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
|
BIN
openslides/static/images/icons/task-complete-grey.png
Normal file
BIN
openslides/static/images/icons/task-complete-grey.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 413 B |
Loading…
Reference in New Issue
Block a user