% unless elections.one? %> <%= link_to voting_monitoring_committee_polling_station_closures_path(current_voting) do %> <%= icon "caret-left", class: "icon--small", role: "img" %> <%= t(".change_election") %> <% end %> <% end %>
<%= t("models.polling_station.fields.title", scope: "decidim.votings.admin") %> | <%= t("models.polling_station.fields.address", scope: "decidim.votings.admin") %> | <%= t("models.polling_station.fields.polling_station_president", scope: "decidim.votings.admin") %> | <%= t(".signed") %> | <%= t(".validated") %> | <%= t("actions.title", scope: "decidim.votings.admin.monitoring_committee_polling_station_closures") %> |
---|---|---|---|---|---|
<%= translated_attribute(polling_station.title) %> | <%= polling_station.address %> | <%= polling_station.polling_station_president&.name %> | <%= icon sign_icon_name, class: sign_icon_style %> | <%= icon validated_icon_name, class: validated_icon_style %> | <% if closure.present? && closure.signed? %> <% if closure.validated? && allowed_to?(:read, :monitoring_committee_polling_station_closure, voting: current_voting, closure: closure) %> <%= icon_link_to "eye", voting_monitoring_committee_polling_station_closure_path(current_voting, closure), t("actions.view", scope: "decidim.votings.admin.monitoring_committee_polling_station_closures"), class: "action-icon--view" %> <% elsif closure.signed? && allowed_to?(:validate, :monitoring_committee_polling_station_closure, voting: current_voting, closure: closure) %> <%= icon_link_to "check", edit_voting_monitoring_committee_polling_station_closure_path(current_voting, closure), t("actions.validate", scope: "decidim.votings.admin.monitoring_committee_polling_station_closures"), class: "action-icon--validate" %> <% else %> <%= icon "check", class: "action-icon action-icon--disabled", role: "img", aria_label: t("actions.validate", scope: "decidim.votings.admin.monitoring_committee_polling_station_closures") %> <% end %> <% else %> <%= icon "eye", class: "action-icon action-icon--disabled", role: "img", aria_label: t("actions.view", scope: "decidim.votings.admin.monitoring_committee_polling_station_closures") %> <% end %> |