Skip to content

Commit

Permalink
books claim in article show
Browse files Browse the repository at this point in the history
  • Loading branch information
chiramiso committed Nov 11, 2014
1 parent 1425112 commit 0d89d2c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
Binary file added app/assets/images/book_alternative.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions app/assets/stylesheets/controller/articles.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,19 @@ ul.category-selected-list {
}
}

// the sidebar box for books claim

.books {
padding: 0;
margin-top: 1em;

img {
display: block;
width: 100%;
margin: 0;
}
}

// activation links

.activation_links {
Expand Down
1 change: 1 addition & 0 deletions app/views/articles/show.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,4 @@
= render "articles/show/seller", article: resource, libraries: @containing_libraries
.sidebar
= render "articles/show/coop"
= render 'articles/show/books'
2 changes: 2 additions & 0 deletions app/views/articles/show/_books.slim
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.books
= image_tag 'book_alternative.jpg', alt: 'Im Bereich Bücher ist Fairmondo bereits eine wirkliche Alternative zu den Marktriesen.'

0 comments on commit 0d89d2c

Please sign in to comment.