Sha256: 65f9f15c89f2e3d07393e3ecabc328f964b4763826e51620024a4cab1a8b68e1

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

<% @page_heading = _('Choose a theme') %>
<% content_for('tasks') do %>
    <%= subtab _("Choose theme"), "current", {:controller=>"themes", :action=>"index"} %>
    <%= subtab _("Theme editor"), "", {:controller=>"themes", :action=>"editor"} %>
<% end %>

<p class="paginate l">
    You can download third party themes from officially supported <a href="http://www.dev411.com/typo/themes/">dev 411 Typo themes viewer</a>.
</p>

<% for theme in @themes %>
<div class="set theme" style="margin-top:10px;">
  <div class="preview">
    <% if theme.path == @active.path -%>
      <%= image_tag(url_for(:action => 'preview', :theme => theme.name)) %>
    <% else %>
      <%= link_to(image_tag(url_for(:action => 'preview', :theme => theme.name)), :action => 'switchto', :theme => theme.name) %>
    <% end %>
    </div>
  <%= theme.description_html %>
  <% if theme.path == @active.path -%>
  <em>(<%= _("Active theme")%>)</em>
  <% else -%>
  <%= link_to _("Activate"), :action => 'switchto', :theme => theme.name %>
  <% end -%>
  <br clear="all" />
</div>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

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