Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

Commit

Permalink
Minor mark-up fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
joegatt committed Jun 24, 2013
1 parent 582f9c4 commit a888a49
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions app/views/book_mailer/metadata_missing.text.haml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,9 @@
\
="http://#{ Settings.host }/admin/book/#{ @id }/edit"
\
="http://www.amazon.com/s/?field-keywords=#{ @isbn }"
\
="http://www.worldcat.org/search?qt=worldcat_org_bks&q=#{ @isbn }"
\
=t('email.signature')
=@host
4 changes: 2 additions & 2 deletions app/views/home/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
:description => '',
:open_graph => { :title => document_title }

= render 'header', :title => t('site.title'), :document_title => document_title

- if @notes.first

%article

= render 'header', :title => t('site.title'), :document_title => document_title

-#= render 'images', :note => @notes.first, :type => :standard
- image = @notes.first.resources.first
%figure
Expand Down
2 changes: 1 addition & 1 deletion app/views/notes/_diffed_tag_list.haml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
%del= link_to key, tag_path(key.parameterize)

- else
%span= link_to key, tag_path(key.parameterize)
= link_to key, tag_path(key.parameterize)
2 changes: 1 addition & 1 deletion app/views/notes/_downloads.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
- file_loc = File.join(Rails.root, 'public', 'resources', 'raw', "#{ download.local_file_name }.#{ download.file_ext }")
- if File.file?(file_loc)
- size = number_to_human_size(File.size( file_loc )).titlecase
= link_to "#{ download.local_file_name }.#{ download.file_ext } (#{ size })", "/resources/raw/#{ download.local_file_name }.#{ download.file_ext }", :title => "Right-click to download"
= link_to "#{ download.local_file_name }.#{ download.file_ext } (#{ size })", "/resources/raw/#{ download.local_file_name }.#{ download.file_ext }", :title => "Right-click to download", :download => "#{ download.local_file_name }.#{ download.file_ext }"

0 comments on commit a888a49

Please sign in to comment.