diff --git a/app/views/branded/org_admin/templates/history.html.erb b/app/views/branded/org_admin/templates/history.html.erb new file mode 100644 index 0000000..6360734 --- /dev/null +++ b/app/views/branded/org_admin/templates/history.html.erb @@ -0,0 +1,28 @@ +
+
+

+ <%= templates.first.customization_of.present? ? _('Template Customisation History') : _('Template History') %> +
+ <%= link_to _('View all templates'), referrer, class: "btn btn-primary" %> +
+

+

<%= raw _('Here you can view previously published versions of your template. These can no longer be modified.')%>

+
+
+ +
+
+ + <% if templates.length > 0 %> + <%= paginable_renderise( + partial: '/paginable/templates/history', + controller: 'paginable/templates', + action: 'history', + query_params: query_params, + scope: templates, + locals: local_assigns ) %> + <% else %> +

<%= _('This template is new and does not yet have any publication history.') %>

+ <% end %> +
+