Skip to content

Commit

Permalink
Merge pull request #3334 from DMPRoadmap/add_js_constants_for_researc…
Browse files Browse the repository at this point in the history
…h_outputs

Added JS constants to be used in the Research Outputs feature
  • Loading branch information
martaribeiro authored Oct 16, 2023
2 parents 05a5223 + fbcd2c9 commit a9e5d8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Changelog

### Added
- Added `MORE_INFO` and `LESS_INFO` JS constants (for the Research Outputs feature)
### Fixed
- Updated the default font on the 'Download page' to be 'Roboto, Arial, Sans-Serif'

Expand Down
5 changes: 4 additions & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@
AUTOCOMPLETE_ARIA_HELPER_EMPTY: _("No results are available for your entry."),
AUTOCOMPLETE_SEARCHING: _("Searching ..."),

CURRENT_LOCALE: LocaleService.to_gettext(locale: @current_locale.to_s)
CURRENT_LOCALE: LocaleService.to_gettext(locale: @current_locale.to_s),

MORE_INFO: _("More info"),
LESS_INFO: _("Less info")
}.to_json
%>

Expand Down

0 comments on commit a9e5d8b

Please sign in to comment.