Skip to content

Commit

Permalink
add action icons
Browse files Browse the repository at this point in the history
  • Loading branch information
ElviaBth committed Apr 4, 2024
1 parent 583133a commit ed399c4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="card">
<div class="card-divider">
<h2 class="card-title">Access code groups</h2>
<a class="button tiny button--title" href="#">New access code group</a>
<a class="button tiny button--title new-access" href="#"><%= t("decidim.admin.code_group.index.new_access_code_group_button") %></a>
</div>
<div class="card-section">
<div class="table-scroll">
Expand All @@ -24,7 +24,11 @@
<td><%= translated_attribute(group.active) %></td>
<td><%= translated_attribute(group.tokens.count) %></td>
<td><%= translated_attribute(group.max_reuses) %></td>
<td></td>
<td class="table-list__actions">
<%= icon "data-transfer-download", class: "action-icon--edit" %>
<%= icon "pencil", class: "action-icon--edit" %>
<%= icon "eye" %>
</td>
</tr>
<% end %>
</tbody>
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ en:
active: Active
expires_at: Expires at
max_reuses: Re-use max
new_access_code_group_button: New access code group
num_of_tockens: Num. of Tockens
title: Title
menu:
Expand Down

0 comments on commit ed399c4

Please sign in to comment.