Commit 54b822e
committed
Allow for optional platform names in header
Why these changes are being introduced:
Matt added the platform name to Omeka to remind users where in
the MITL ecosystem they are. We were planning to add this to
Geodata when we realized that it would probably be useful in other
Rails apps, and should thus go in the theme gem.
Relevant ticket(s):
https://mitlibraries.atlassian.net/browse/GDT-124
How this addresses that need:
This adds an optional platform name in the header, based on the
`PLATFORM_NAME` environment variable. Environments that don't set
`PLATFORM_NAME` will continue to have the standard header.
Side effects of this change:
The SCSS updates for this should likely be moved upstream to the
style guide, but I couldn't decide if that should happen before or
after this merges.1 parent 93b931b commit 54b822e
2 files changed
Lines changed: 33 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
43 | 58 | | |
44 | 59 | | |
45 | 60 | | |
| |||
53 | 68 | | |
54 | 69 | | |
55 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
56 | 86 | | |
57 | 87 | | |
58 | 88 | | |
| |||
0 commit comments