added breadcrumb to albums
This commit is contained in:
parent
7eb59a654c
commit
f6fd6bc9e6
5 changed files with 10 additions and 6 deletions
|
|
@ -1,3 +1,8 @@
|
|||
%h1.big_text
|
||||
=link_to 'albums', albums_path
|
||||
>>
|
||||
new album
|
||||
|
||||
= form_for @album do |f|
|
||||
= f.error_messages
|
||||
%p
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
%h3= @album.name
|
||||
%h1.big_text
|
||||
= link_to 'albums', albums_path
|
||||
>>
|
||||
= @album.name
|
||||
-unless mine? @album
|
||||
%h4= 'by ' + @album.person.real_name
|
||||
-if mine? @album
|
||||
|
|
@ -9,5 +12,3 @@
|
|||
-if mine? @album
|
||||
%p
|
||||
= link_to "Destroy", @album, :confirm => 'Are you sure?', :method => :delete
|
||||
|
|
||||
= link_to "View All", albums_path
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@
|
|||
%br
|
||||
= render 'people/sidebar' if user_signed_in?
|
||||
|
||||
.span-20.last
|
||||
.span-18.last
|
||||
= yield
|
||||
|
||||
= render "posts/debug"
|
||||
|
|
|
|||
|
|
@ -265,7 +265,6 @@ label {
|
|||
left: 0.48em; }
|
||||
|
||||
#publisher {
|
||||
background-color: #f2f8fc;
|
||||
background-color: rgba(10, 81, 109, 0.05);
|
||||
border-bottom: 2px #999999 solid;
|
||||
color: #999999;
|
||||
|
|
|
|||
|
|
@ -313,7 +313,6 @@ label
|
|||
|
||||
#publisher
|
||||
:background
|
||||
:color #F2F8FC
|
||||
:color rgba(10,81,109,0.05)
|
||||
:border
|
||||
:bottom 2px #999 solid
|
||||
|
|
|
|||
Loading…
Reference in a new issue