added breadcrumb to albums

This commit is contained in:
danielvincent 2010-07-23 20:28:10 -07:00
parent 7eb59a654c
commit f6fd6bc9e6
5 changed files with 10 additions and 6 deletions

View file

@ -1,3 +1,8 @@
%h1.big_text
=link_to 'albums', albums_path
>>
new album
= form_for @album do |f|
= f.error_messages
%p

View file

@ -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

View file

@ -55,7 +55,7 @@
%br
= render 'people/sidebar' if user_signed_in?
.span-20.last
.span-18.last
= yield
= render "posts/debug"

View file

@ -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;

View file

@ -313,7 +313,6 @@ label
#publisher
:background
:color #F2F8FC
:color rgba(10,81,109,0.05)
:border
:bottom 2px #999 solid