-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Why these changes are being introduced: The GeoData visual design includes a heading at the top of each page, along with some descriptive text. Relevant ticket(s): https://mitlibraries.atlassian.net/browse/GDT-182 How this addresses that need: This adds the requested element as a partial, with conditional copy for GDT versus non-GDT applications. It also moves the label text to the `title` attribute, as the label is is now visually redundant but may still be useful to screen reader users. Side effects of this change: * The input label before form submit is now the same as the placeholder text. This feels fine since screen readers might not read placeholder text, but they do consistently rely on labels. * The copy for non-GDT titles did not come from UXWS and is subject to change.
- Loading branch information
Showing
7 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<%= content_for(:title, "Search | MIT Libraries") %> | ||
|
||
<div class="space-wrap"> | ||
<%= render partial: "shared/site_title" %> | ||
<%= render partial: "search/form" %> | ||
<%= render partial: "static/about" if ENV.fetch('ABOUT_APP', nil) %> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<% if Flipflop.enabled?(:gdt) %> | ||
<h1 class="hd-2">Search for Geographic/GIS data</h1> | ||
<p>Find GIS data held at MIT and other universities</p> | ||
<% else %> | ||
<h1>Search the MIT Libraries</h1> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters