Sha256: b05229343b5f60d3a0b9af9e41c8fdb0aa72322d5b401252d52b5809e63da621

Contents?: true

Size: 884 Bytes

Versions: 13

Compression:

Stored size: 884 Bytes

Contents

<% add_decidim_page_title(t("changes_at_title", scope: "decidim.version.show", title: versioned_resource.title)) %>
<% add_decidim_page_title(t("decidim.proposals.versions.index.title")) %>
<%
if versioned_resource.is_a?(Decidim::Proposals::CollaborativeDraft)
  add_decidim_page_title(Decidim::Proposals::CollaborativeDraft.model_name.human(count: 2))
end
%>

<% content_for :aside do %>
  <%= cell(
    "decidim/versions_list",
    versioned_resource,
    version_path: proc { |version_index| url_for(action: :show, id: version_index) }
  ) %>
<% end %>

<%= render layout: "layouts/decidim/shared/layout_item" do %>
  <%= cell(
    "decidim/version",
    current_version,
    index: params[:id],
    versioned_resource:,
    path: proc { |extra_params| url_for(action: :show, id: params[:id], **extra_params) },
    versions_path: proc { url_for(action: :index) }
  ) %>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-proposals-0.29.1 app/views/decidim/proposals/versions/show.html.erb
decidim-proposals-0.28.4 app/views/decidim/proposals/versions/show.html.erb
decidim-proposals-0.29.0 app/views/decidim/proposals/versions/show.html.erb
decidim-proposals-0.28.3 app/views/decidim/proposals/versions/show.html.erb
decidim-proposals-0.29.0.rc4 app/views/decidim/proposals/versions/show.html.erb
decidim-proposals-0.29.0.rc3 app/views/decidim/proposals/versions/show.html.erb
decidim-proposals-0.29.0.rc2 app/views/decidim/proposals/versions/show.html.erb
decidim-proposals-0.29.0.rc1 app/views/decidim/proposals/versions/show.html.erb
decidim-proposals-0.28.2 app/views/decidim/proposals/versions/show.html.erb
decidim-proposals-0.28.1 app/views/decidim/proposals/versions/show.html.erb
decidim-proposals-0.28.0 app/views/decidim/proposals/versions/show.html.erb
decidim-proposals-0.28.0.rc5 app/views/decidim/proposals/versions/show.html.erb
decidim-proposals-0.28.0.rc4 app/views/decidim/proposals/versions/show.html.erb