Skip to content

Commit b2c8911

Browse files
authored
Merge pull request #114 from MITLibraries/gdt-124-platform-name-in-header
Update theme gem and document PLATFORM_NAME variable
2 parents 113c1bf + cfaf80b commit b2c8911

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ gem 'graphql-client'
99
gem 'http'
1010
gem 'importmap-rails'
1111
gem 'jbuilder'
12-
gem 'mitlibraries-theme', git: 'https://github.com/mitlibraries/mitlibraries-theme', tag: 'v1.1'
12+
gem 'mitlibraries-theme', git: 'https://github.com/mitlibraries/mitlibraries-theme', tag: 'v1.2'
1313
gem 'puma'
1414
gem 'rails', '~> 7.0'
1515
gem 'sentry-rails'

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GIT
22
remote: https://github.com/mitlibraries/mitlibraries-theme
3-
revision: 93b931b802485f9e35a6878f957b3fd88ae3b294
4-
tag: v1.1
3+
revision: bcbe5d3de36a92d275085a045c5c4d8f30f33e62
4+
tag: v1.2
55
specs:
66
mitlibraries-theme (1.0.2)
77
rails (>= 6, < 8)

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ mode (e.g., `GDT=false` will still enable GDT features). Note that this is curre
5656
may have unexpected consequences if applied to other TIMDEX UI apps.
5757
- `GLOBAL_ALERT`: The main functionality for this comes from our theme gem, but when set the value will be rendered as
5858
safe html above the main header of the site.
59+
- `PLATFORM_NAME`: The value set is added to the header after the MIT Libraries logo. The logic and CSS for this comes from our theme gem.
5960
- `SENTRY_DSN`: Client key for Sentry exception logging.
6061
- `SENTRY_ENV`: Sentry environment for the application. Defaults to 'unknown' if unset.
6162
- `TIMDEX_INDEX`: Name of the index, or alias, to provide to the GraphQL endpoint. Defaults to `nil` which will let TIMDEX determine the best index to use. Wildcard values can be set, for example `rdi*` would search any indexes that begin with `rdi` in the underlying OpenSearch instance behind TIMDEX.

0 commit comments

Comments
 (0)