Skip to content
This repository has been archived by the owner on Mar 10, 2022. It is now read-only.

Commit

Permalink
Close #105. Add alpha to top header.
Browse files Browse the repository at this point in the history
  • Loading branch information
aeschylus committed Apr 25, 2017
1 parent b2d4bfb commit b11d9ec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion app/assets/stylesheets/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
}
}

.version-text {
color: $navbar-inverse-hover-color;
}

.messages {
.alert {
margin-bottom: 0;
Expand All @@ -24,4 +28,4 @@
#message-template {
display: none;
}
}
}
2 changes: 1 addition & 1 deletion app/views/shared/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand brand" href="<%= root_path %>"><%= t(:application_name) %></a>
<a class="navbar-brand brand" href="<%= root_path %>"><%= t(:application_name) %> - <span class="version-text"><%= t(:version_text) %></span></a>

<div class="collapse navbar-collapse" id="navbar">
<ul class="navbar-nav mr-auto">
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ en:
manifest:
url: Manifest URL
application_name: mirador@stanford
version_text: alpha
collections:
navbar: Collections
create: Collection was successfully created.
Expand Down

0 comments on commit b11d9ec

Please sign in to comment.