#336 open
Akzhan

Forgotten theme export link

Reported by Akzhan | October 1st, 2009 @ 01:52 PM

While themes were moved to adva_themes engine, export link was missed from page design.

I recommend to retrieve it using
- vendor/adva/engines/adva_themes/app/views/admin/themes/_theme.html.erb

<ul id="theme_list">
    <li class="theme<%= ' current' if theme.active? %>">
      <h4 title="<%= theme.theme_id %>"><%= theme.name %></h4>
      <p>
            <%= "v#{theme.version}" if theme.version.present? %>
        <%= t(:'adva.common.by_author', :author => theme.author_link) %>
      </p>
        <%= link_to theme_image_tag(theme.theme_id, theme.preview.base_url, :title => theme.theme_id), index_path([theme, :'theme/file']) if theme.preview %>

        <ul class="options">
        <% if theme.active? %>
                <li><%= link_to_deactivate_theme(theme) %></li>
        <% else %>
                <li><%= link_to_activate_theme(theme) %></li>
        <% end %>
        <li><%= link_to t(:'adva.themes.links.edit'), edit_admin_theme_path(@site, theme) %></li>
        <li><%= link_to t(:'adva.themes.links.export'), export_admin_theme_path(@site, theme.id) %></li>
        <li><%= link_to t(:'adva.themes.links.delete'), admin_theme_path(@site, theme), { :confirm => t(:'adva.themes.confirm_uninstall'), :method => :delete }  %></li>
      </ul>
    </li>
</ul>

And somewhere in locales

en:
  adva:
    themes:
      links:
        export:  'Download as zip'

Comments and changes to this ticket

  • Marko Seppä

    Marko Seppä November 23rd, 2009 @ 11:55 AM

    • State changed from “new” to “open”

    The download link can be found under theme -> edit. Which probably does not make so much sense as the old way.

    Maybe we should replace the text with some images (activate/deactivate => +/-, download => arrow down, edit => textpad icon, delete => trashcan icon) so that the text is not starting to take too wide space?

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<p>Cutting edge cms, blog, wiki, forum ... plattform.</p>

<p>Find the code on <a href="http://github.com/svenfuchs/adva_cms/tree/master">GitHub: adva cms</a></p>

<p>Part of the business application framework <a href="http://www.advabest.org/">adva best</a>.</p>

People watching this ticket

Tags

Pages