Skip to content

Commit

Permalink
Merge pull request #1865 from racke/topic/update_epoch_web by racke &…
Browse files Browse the repository at this point in the history
… ikedas

Expose update_epoch on get_closed_lists.
  • Loading branch information
ikedas authored Sep 6, 2024
2 parents d14befd + dfbdd83 commit 7c97152
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion default/web_tt2/get_closed_lists.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<th id="h_name">[%|loc%]list name[%END%]</th>
<th id="h_subject">[%|loc%]list subject[%END%]</th>
<th id="h_owner">[%|loc%]Requested by[%END%]</th>
<th id="h_update">[%|loc%]Last update[%END%]</th>
</tr>

[% FOREACH list = closed %]
Expand All @@ -35,8 +36,11 @@
<td headers="h_name">
<a href="[% 'admin' | url_rel([list.key]) %]">[% list.key %]</a>
</td>
<td headers="hsubject">[% list.value.subject %]</td>
<td headers="h_subject">[% list.value.subject %]</td>
<td headers="h_owner">[% list.value.by %]</td>
<td headers="h_update">
[% list.value.update_epoch | optdesc('unixtime') %]
</td>
</tr>
[% END %]
</table>
Expand Down
2 changes: 2 additions & 0 deletions src/cgi/wwsympa.fcgi.in
Original file line number Diff line number Diff line change
Expand Up @@ -9103,6 +9103,8 @@ sub do_get_closed_lists {
$list->{'admin'}{'subject'};
$param->{'closed'}{$list->{'name'}}{'by'} =
$list->{'admin'}{'creation'}{'email'};
$param->{'closed'}{$list->{'name'}}{'update_epoch'} =
$list->{'admin'}{'update'}{'date_epoch'};
}

return 1;
Expand Down

0 comments on commit 7c97152

Please sign in to comment.