Skip to content

Commit

Permalink
change datetime format in index table
Browse files Browse the repository at this point in the history
  • Loading branch information
ElviaBth committed Apr 4, 2024
1 parent d8f307f commit 583133a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@
<% groups.each do |group| %>
<tr>
<td><%= translated_attribute(group.title) %></td>
<td><%= translated_attribute(group.expires_at) %></td>
<td><%= translated_attribute(l(group.expires_at, format: :decidim_short)) %></td>
<td><%= translated_attribute(group.active) %></td>
<td><%= translated_attribute(group.tokens.count) %></td>
<td><%= translated_attribute(group.max_reuses) %></td>
<td></td>
</tr>
<% end %>
</tbody>
Expand Down
6 changes: 3 additions & 3 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ en:
admin:
code_group:
index:
title: Title
expires_at: Expires at
active: Active
num_of_tockens: Num. of Tockens
expires_at: Expires at
max_reuses: Re-use max
num_of_tockens: Num. of Tockens
title: Title
menu:
anonymous_codes: Access Codes
anonymous_codes:
Expand Down

0 comments on commit 583133a

Please sign in to comment.