Sha256: cc3a99ba97b26d774e788f46b7be0268cdd3a8d5e29083d88820a547e6acbbaa

Contents?: true

Size: 1.11 KB

Versions: 7

Compression:

Stored size: 1.11 KB

Contents

<% add_secondary_root_menu(:admin_voting_menu) %>

<% content_for :breadcrumb_context_menu do %>
  <div class="process-title-content-breadcrumb-container-right">
    <%= link_to decidim_votings.voting_path(current_participatory_space), class: "button button__sm button__transparent process-title-content-breadcrumb-container-right-link", target: "_blank", data: { "external-link": false } do %>
      <%= icon "eye-line" %>
      <span>
        <%= t("see_voting", scope: "decidim.votings.admin.menu.votings_submenu") %>
      </span>
    <% end %>
  </div>
<% end %>
<%= render "layouts/decidim/admin/application" do %>
  <div class="voting-content">
    <% if !current_participatory_space.elections.any? %>
      <%= cell("decidim/announcement", t("votings.edit.add_election_component", scope: "decidim.votings.admin"), callout_class: "alert") %>
    <% end %>
    <% if current_participatory_space.polling_stations_with_missing_officers? %>
      <%= cell("decidim/announcement", t("votings.edit.assign_missing_officers", scope: "decidim.votings.admin"), callout_class: "alert") %>
    <% end %>
    <%= yield %>
  </div>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-elections-0.28.4 app/views/layouts/decidim/admin/voting.html.erb
decidim-elections-0.28.3 app/views/layouts/decidim/admin/voting.html.erb
decidim-elections-0.28.2 app/views/layouts/decidim/admin/voting.html.erb
decidim-elections-0.28.1 app/views/layouts/decidim/admin/voting.html.erb
decidim-elections-0.28.0 app/views/layouts/decidim/admin/voting.html.erb
decidim-elections-0.28.0.rc5 app/views/layouts/decidim/admin/voting.html.erb
decidim-elections-0.28.0.rc4 app/views/layouts/decidim/admin/voting.html.erb