Skip to content

Commit

Permalink
make a request button will now appear next to each authority in searc…
Browse files Browse the repository at this point in the history
…h results, part of #1526
  • Loading branch information
wrightmartin authored and garethrees committed Feb 20, 2015
1 parent 882d812 commit 713699b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion app/assets/stylesheets/responsive/_lists_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,8 @@
}
}


/* .make-request-quick-button displays in the typeahead search results in the 'make request' process */
.make-request-quick-button {
margin-bottom: 1em;
margin-top: -0.5em;
}
5 changes: 4 additions & 1 deletion app/views/public_body/_body_listing_single.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if @highlight_words.nil?
<% if @highlight_words.nil?
@highlight_words = []
end %>

Expand Down Expand Up @@ -34,5 +34,8 @@
<%= _("Added on {{date}}", :date => simple_date(public_body.created_at)) %>.
</span>
</span>
<div class="make-request-quick-button">
<a class="link_button_green" href="#">Make a request</a>
</div>
</div>

0 comments on commit 713699b

Please sign in to comment.