Sha256: 850c2f086b4c6b7deaa52305cb69a2974bef899794aa244b9fce13f19bbb26fb
Contents?: true
Size: 1021 Bytes
Versions: 3
Compression:
Stored size: 1021 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: 'articles', action: 'new') if can? :new, 'admin/articles' 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
3 entries across 3 versions & 1 rubygems