Skip to content

Commit

Permalink
Add link to GitHub issues in nav bar
Browse files Browse the repository at this point in the history
  • Loading branch information
lilliealbert committed Mar 18, 2013
1 parent a1349ea commit 9f638e3
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
16 changes: 15 additions & 1 deletion app/assets/stylesheets/_header.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
background: #333;
}

.nav li a {
.nav li a {
color: white;
text-shadow: none;
margin-right: 20px;
Expand All @@ -14,6 +14,20 @@
}
}

.nav-blurb {
color: white;
font-size: 12px;
text-shadow: none;
margin-left: 15px;
line-height: 12px;
position: relative;
top: -20px;
a {
color: white;
text-decoration: underline;
}
}

.app-name {
background-color: $red-color;
color: white;
Expand Down
3 changes: 3 additions & 0 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<a class="app-name" href=<%= events_path %>><%= render 'shared/logo' %></a>
<% if user_signed_in? %>
<span class="nav-blurb">Found a bug? Or some unexpected behavior? <a href="https://github.com/railsbridge/bridge_troll/issues">Let us know</a>!</span>
<% end %>
<ul class="nav pull-right">
<%= render :partial => "devise/menu/login_items" %>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
t.string "time_zone"
t.integer "meetup_volunteer_event_id"
t.integer "meetup_student_event_id"
t.text "volunteer_details"
t.string "public_email"
t.text "volunteer_details"
end

create_table "locations", :force => true do |t|
Expand Down

0 comments on commit 9f638e3

Please sign in to comment.