Sha256: 14d3157cb8012ad1df59b690919f28d7e156c6aa196eb5e3a099c52ca8fc8f25

Contents?: true

Size: 1.54 KB

Versions: 2

Compression:

Stored size: 1.54 KB

Contents

<% @page_heading = _('Choose a theme') %>
<% subtabs_for(:themes) %>
<% i = 0 %>
<% for theme in @themes %>
  <div class='dashboard-left ui-accordion ui-widget ui-helper-reset ui-accordion-icons theme settings'>
    <h3 class='ui-accordion-header ui-helper-reset <%= theme.path == @active.path ? 'ui-state-active' : 'ui-state-default' %> ui-corner-top'>
      <span class='ui-icon <%= theme.path == @active.path ? 'ui-icon-star' : 'ui-icon-image'  %>'> </span>
      <%= theme.name %>
    </h3>
    <div class='ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content-active'>
      <% if theme.path == @active.path -%>
        <%= image_tag(url_for(:action => 'preview', :theme => theme.name, :skip_relative_url_root => true)) %>
      <% else %>
        <%= link_to(image_tag(url_for(:action => 'preview', :theme => theme.name, :skip_relative_url_root => true)), :action => 'switchto', :theme => theme.name) %>
      <% end %>
      <%= theme.description_html %>
      <% if theme.path == @active.path -%>
        <em>(<%= _("Active theme")%>)</em>
      <% end -%>
    </div>
  </div>
<% if i == 2 %>
  <% i = 0 %>
  <br class='clear' />
<% else %>
  <% i+=1 %>
<% end %>
<% end %>

<hr class="clear" />

<h2><%= _("Get more themes")%> </h2>
<p>
    <%= _("You can download third party themes from officially supported %s ", link_to(_("Typogarden"), 'http://typogarden.org'))%> <%= _("To install a theme you  just need to upload the theme folder into your themes directory. Once a theme is uploaded, you should see it on this page.") %>
</p>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
typo-5.5 app/views/admin/themes/index.html.erb
typo-5.4.4 app/views/admin/themes/index.html.erb