<%= _('Select template') %> |
|||||
<% if template %> <%= image_tag("/designs/templates/#{template.id}/thumbnail.png", :alt => _('The "%s" template')) %> <% end %> | >
<% if template %>
<%= template.id %> <%= _('(current)') if selected %>
<%= link_to(_('Use this template'), :action => 'set_layout_template', :id => template.id) unless selected %> <% end %> |
<% end %> | |||
<%= _('Select theme') %> |
|||||
<%# FIXME add proper thumbnails %> <% if theme %> <%= image_tag('/images/icons-app/design-editor.png', :alt => (_('The "%s" theme.') % theme.name)) %> <% end %> | >
<% if theme %>
<%= theme.name %> <%= _('(current)') if selected %> <%= link_to(_('Use this theme'), :action => 'set', :id => theme.id) unless selected %> <% end %> |
<% end %> | |||
<%= _('My themes') %> |
|||||
<%# FIXME add proper thumbnails %> <%= image_tag('/images/icons-app/design-editor.png', :alt => (_('The "%s" theme.') % theme.name)) if theme %> |
<%= theme.name if theme%> <%= link_to(_('Edit this theme'), :action => 'edit', :id => theme.id) if theme %> <%= link_to(_('Test this theme'), :action => 'start_test', :id => theme.id) if theme %> |
<% end %> | |||