Sha256: b571c000b5e168f614775963b168acb55e43f7a45ee5002bef38a2ac147f4bd3
Contents?: true
Size: 1019 Bytes
Versions: 21
Compression:
Stored size: 1019 Bytes
Contents
<div class='alert alert-info'> <button type="button" class="close" data-dismiss="alert"> <span aria-hidden="true">×</span> <span class="sr-only">Close</span> </button> <% links = [] links << link_to(t('.write_a_post'), controller: 'content', action: 'new') if can? :new, 'admin/content' links << link_to(t('.write_a_page'), controller: 'pages', action: 'new') if can? :new, 'admin/pages' links << link_to(t('.update_your_profile_or_change_your_password'), controller: 'profiles', action: 'index') %> <p> <%= t('.dashboard_explain_html', available_actions: safe_join(links, ', ')) %> </p> <% if can? :index, 'admin/themes' %> <p> <%= t('.customization_explain_html', theme_link: link_to(t('.change_your_blog_presentation'), controller: 'themes'), sidebar_link: link_to(t('.enable_plugins'), controller: 'sidebar')) %> </p> <% end %> <p> <%= t('.help_explain_html', doc_link: link_to(t('.read_our_documentation'), 'https://publify.github.io/')) %> </p> </div>
Version data entries
21 entries across 21 versions & 2 rubygems