Skip to content

Commit

Permalink
Added created/modified timestamps to items on the admin pages. This r…
Browse files Browse the repository at this point in the history
…esolves issue #181.
  • Loading branch information
filiptypjeu committed Jan 12, 2024
1 parent 0818c3d commit d5a4a26
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
4 changes: 3 additions & 1 deletion teknologr/members/templates/decoration.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
{% include "modals/decoration_edit.html" with modalname="edit-d-modal" title="Editera betygelse" form=edit_d_form decoration=decoration only %}
</div>
</div>
<h1 class="page-header">{{ decoration.name }}</h1>
<h1 class="page-header" title="Skapad: {{ decoration.created }}&#013;Ändrad: {{ decoration.modified }}">
{{ decoration.name }}
</h1>
</div>


Expand Down
4 changes: 3 additions & 1 deletion teknologr/members/templates/functionary.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
{% include "modals/functionarytype_edit.html" with modalname="edit-ft-modal" title="Editera post" form=edit_ft_form functionary_type=functionary_type only %}
</div>
</div>
<h1 class="page-header">{{ functionary_type.name }}</h1>
<h1 class="page-header" title="Skapad: {{ functionary_type.created }}&#013;Ändrad: {{ functionary_type.modified }}">
{{ functionary_type.name }}
</h1>
</div>

<div class="container-fluid">
Expand Down
6 changes: 4 additions & 2 deletions teknologr/members/templates/group.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
{% include "modals/grouptype_edit.html" with modalname="edit-gt-modal" title="Editera grupp" form=edit_gt_form grouptype=grouptype only %}
</div>
</div>
<h1 class="page-header">{{ grouptype.name }}</h1>
<h1 class="page-header" title="Skapad: {{ grouptype.created }}&#013;Ändrad: {{ grouptype.modified }}">
{{ grouptype.name }}
</h1>
</div>

<div class="container-fluid">
Expand Down Expand Up @@ -76,7 +78,7 @@ <h4 class="list-inline-item">Undergrupper</h4>
<thead class="no-border">
<tr>
<th>
<h4>
<h4 title="Skapad: {{ group.created }}&#013;Ändrad: {{ group.modified }}">
{{ group.begin_date }}<br>- {{ group.end_date }}<br>
<span>
<i class="far fa-edit text-info icon-20" role="button" title="Editera undergrupp" data-toggle="modal" data-target="#edit-g-modal"></i>
Expand Down
2 changes: 1 addition & 1 deletion teknologr/members/templates/member.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</div>
</div>
</div>
<h2 class="page-header">
<h2 class="page-header" title="Skapad: {{ member.created }}&#013;Ändrad: {{ member.modified }}">
{{ member.get_full_name_HTML }}
</h2>

Expand Down

0 comments on commit d5a4a26

Please sign in to comment.