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