Commit 4681efd3 authored by Martin Markech's avatar Martin Markech
Browse files

fix submenu icons

parent ca71cb1f
.folder_icon {
background-image: image-url('refinery/photo_gallery/admin/icons/folder.png');
}
.folder_add_icon {
background-image: image-url('refinery/photo_gallery/admin/icons/folder_add.png');
}
......@@ -31,10 +28,6 @@
.settings_icon {
background-image: image-url('refinery/photo_gallery/admin/icons/cog.png');
}
ul.collapsible_menu li {
position: relative;
}
......@@ -47,12 +40,7 @@ ul.collapsible_menu li span.arrow {
height: 7px;
cursor: pointer;
}
ul.collapsible_menu li span.arrow {
background-image: image-url('refinery/photo_gallery/admin/icons/up.gif');
}
ul.collapsible_menu li.closed span.arrow {
background-image: image-url('refinery/photo_gallery/admin/icons/down.gif');
}
ul.collapsible_menu > div {
width: 93%;
margin: 0px auto;
......
<section id='actions'>
<nav id='actions' class='multilist'>
<ul class='search_list'>
<ul class='collapsible_menu'>
<li class='not_a_link'>
<% if params[:controller] == "refinery/photo_gallery/admin/collections" %>
<%= render :partial => "/refinery/admin/search",
:locals => {
:url => refinery.photo_gallery_admin_collections_path
} %>
<% elsif params[:controller] == "refinery/photo_gallery/admin/albums" %>
<%= render :partial => "/refinery/admin/search",
:locals => {
:url => refinery.photo_gallery_admin_albums_path
} %>
<% end %>
</li>
</ul>
<ul >
<li>
<%= link_to t('.albums.manage'), refinery.photo_gallery_admin_albums_path,
:class => '' %>
:class => 'folder_icon' %>
</li>
<li>
<%= link_to t('.albums.new'), refinery.new_photo_gallery_admin_album_path,
:class => '' %>
:class => 'add_icon' %>
</li>
</ul>
<ul >
<li>
<ul class='collapsible_menu'>
<li class='not_a_link'>
<%= link_to t('.collections.manage'), refinery.photo_gallery_admin_collections_path,
:class => '' %>
:class => 'folder_icon' %>
</li>
<li>
<%= link_to t('.collections.new'), refinery.new_photo_gallery_admin_collection_path,
:class => '' %>
:class => 'add_icon' %>
</li>
</ul>
</section>
</nav>
......@@ -15,26 +15,6 @@
<%= p.text_area :description, :rows => "5", :cols=> "57" %>
</div>
<% if Refinery::PhotoGallery.admin_photo_options_show_url %>
<div class='field'>
<%= p.label :url %>
<%= p.text_field :url, :class => "larger" %>
</div>
<% end %>
<% if Refinery::PhotoGallery.admin_photo_options_show_css_class %>
<div class='field'>
<%= p.label :css_class %>
<%= p.text_field :css_class, :class => "larger" %>
</div>
<% end %>
<% if Refinery::PhotoGallery.admin_photo_options_show_preview_type %>
<div class='field'>
<%= p.label :preview_type %>
<%= p.text_field :preview_type, :class => "larger" %>
</div>
<% end %>
<div class='field-group'>
<%= p.label :longitude, :tooltip=> t('.use_decimal_format') %>
......
......@@ -20,11 +20,11 @@ sk:
submenu:
collections:
title: Skupiny albumov
manage: Spravovať
manage: Spravovať skupinu
new: Vytvoriť novú skupinu albumov
albums:
title: Abumy
manage: Spravovať
manage: Spravovať albumy
new: Vytvoriť nový albun
collections:
collection:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment