Skip to content
Snippets Groups Projects
Verified Commit e37a73ca authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

[Person overview] Show delete button also when personal note is excused

parent 8262a4aa
No related branches found
No related tags found
1 merge request!49Resolve "Add rules and permissions"
...@@ -180,6 +180,11 @@ ...@@ -180,6 +180,11 @@
<i class="material-icons center">cancel</i> <i class="material-icons center">cancel</i>
</a> </a>
</form> </form>
{% elif can_edit_personal_note %}
<a class="btn-flat red-text right hide-on-small-only" title="{% trans "Delete note" %}"
href="{% url "delete_personal_note" note.pk %}">
<i class="material-icons center">cancel</i>
</a>
{% endif %} {% endif %}
{% if note.absent %} {% if note.absent %}
...@@ -222,6 +227,12 @@ ...@@ -222,6 +227,12 @@
<i class="material-icons center">cancel</i> <i class="material-icons center">cancel</i>
</a> </a>
</form> </form>
{% elif can_edit_personal_note %}
<a class="btn-flat red-text" title="{% trans "Delete note" %}"
href="{% url "delete_personal_note" note.pk %}">
<i class="material-icons left">cancel</i>
{% trans "Delete" %}
</a>
{% endif %} {% endif %}
</div> </div>
</li> </li>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment