Skip to content

Commit

Permalink
Merge pull request #114 from MITLibraries/gdt-124-platform-name-in-he…
Browse files Browse the repository at this point in the history
…ader

Update theme gem and document PLATFORM_NAME variable
  • Loading branch information
jazairi authored Feb 9, 2024
2 parents 113c1bf + cfaf80b commit b2c8911
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ gem 'graphql-client'
gem 'http'
gem 'importmap-rails'
gem 'jbuilder'
gem 'mitlibraries-theme', git: 'https://github.com/mitlibraries/mitlibraries-theme', tag: 'v1.1'
gem 'mitlibraries-theme', git: 'https://github.com/mitlibraries/mitlibraries-theme', tag: 'v1.2'
gem 'puma'
gem 'rails', '~> 7.0'
gem 'sentry-rails'
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GIT
remote: https://github.com/mitlibraries/mitlibraries-theme
revision: 93b931b802485f9e35a6878f957b3fd88ae3b294
tag: v1.1
revision: bcbe5d3de36a92d275085a045c5c4d8f30f33e62
tag: v1.2
specs:
mitlibraries-theme (1.0.2)
rails (>= 6, < 8)
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ mode (e.g., `GDT=false` will still enable GDT features). Note that this is curre
may have unexpected consequences if applied to other TIMDEX UI apps.
- `GLOBAL_ALERT`: The main functionality for this comes from our theme gem, but when set the value will be rendered as
safe html above the main header of the site.
- `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.
- `SENTRY_DSN`: Client key for Sentry exception logging.
- `SENTRY_ENV`: Sentry environment for the application. Defaults to 'unknown' if unset.
- `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.
Expand Down

0 comments on commit b2c8911

Please sign in to comment.