discourse/app/assets/javascripts/admin/templates
David Taylor 880311dd4d
FEATURE: Support for localized themes (#6848)
- Themes can supply translation files in a format like `/locales/{locale}.yml`. These files should be valid YAML, with a single top level key equal to the locale being defined. For now these can only be defined using the `discourse_theme` CLI, importing a `.tar.gz`, or from a GIT repository.

- Fallback is handled on a global level (if the locale is not defined in the theme), as well as on individual keys (if some keys are missing from the selected interface language).

- Administrators can override individual keys on a per-theme basis in the /admin/customize/themes user interface.

- Theme developers should access defined translations using the new theme prefix variables:
  JavaScript: `I18n.t(themePrefix("my_translation_key"))`
  Handlebars: `{{theme-i18n "my_translation_key"}}` or `{{i18n (theme-prefix "my_translation_key")}}`

- To design for backwards compatibility, theme developers can check for the presence of the `themePrefix` variable in JavaScript

- As part of this, the old `{{themeSetting.setting_name}}` syntax is deprecated in favour of `{{theme-setting "setting_name"}}`
2019-01-17 11:46:11 +00:00
..
components DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
logs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
modal DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
admin.hbs UX: Add link to Groups in admin dashboard. (#6480) 2018-10-12 10:34:47 +11:00
api-keys.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
api.hbs UX: Various admin class and structure improvements for styling 2017-10-30 14:50:43 -04:00
backups-index.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
backups-logs.hbs Fixes some Ember Deprecations for 1.13: 2016-10-21 11:06:07 -04:00
backups.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
badges-index.hbs Add btn-default class to all default buttons (#6521) 2018-10-24 16:09:36 -04:00
badges-show.hbs FIX: better alignment of badge selector and edit btn (#6651) 2018-11-22 16:21:15 +01:00
badges.hbs Add btn-default class to all default buttons (#6521) 2018-10-24 16:09:36 -04:00
customize-colors-index.hbs FEATURE: Native theme support 2017-04-12 10:53:49 -04:00
customize-colors-show.hbs Add btn-default class to all default buttons (#6521) 2018-10-24 16:09:36 -04:00
customize-colors.hbs Add btn-default class to all default buttons (#6521) 2018-10-24 16:09:36 -04:00
customize-email-templates-edit.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
customize-email-templates-index.hbs FEATURE: Admin interface for editing email templates 2015-11-19 16:39:34 -05:00
customize-email-templates.hbs Removing old bootstrap columns 2018-02-14 12:27:34 -05:00
customize-themes-edit.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
customize-themes-index.hbs use woman_artist emoji 2018-09-17 09:49:53 +10:00
customize-themes-show.hbs FEATURE: Support for localized themes (#6848) 2019-01-17 11:46:11 +00:00
customize-themes.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
customize.hbs UX: Various admin class and structure improvements for styling 2017-10-30 14:50:43 -04:00
dashboard_next_general.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
dashboard_next_moderation.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
dashboard_next_reports.hbs UX: Adding reports dashboard tab, new layout, report descriptions (#6790) 2018-12-19 14:44:43 +01:00
dashboard_next_security.hbs FEATURE: adds security tab to dashboard (#6768) 2018-12-14 13:47:59 +01:00
dashboard_next.hbs UX: Adding reports dashboard tab, new layout, report descriptions (#6790) 2018-12-19 14:44:43 +01:00
dashboard-problems.hbs remove stray chars 2019-01-16 15:05:43 -08:00
dashboard.hbs UX: inform users old dashboard is going to b removed (#6592) 2018-11-12 15:20:00 +01:00
email-advanced-test.hbs UX: Wrap pre element. 2018-12-05 21:56:18 +01:00
email-bounced.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
email-index.hbs UX: Improve email testing admin tool. (#6308) 2018-08-29 23:14:16 +02:00
email-preview-digest.hbs Add btn-default class to all default buttons (#6521) 2018-10-24 16:09:36 -04:00
email-received.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
email-rejected.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
email-sent.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
email-skipped.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
email.hbs FEATURE: Add 'Advanced Test' for admin panel. 2018-12-05 21:56:18 +01:00
embedding.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
emojis.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
flags-posts-active.hbs REFACTOR: Convert admin flagged posts to a component 2017-09-25 12:25:14 -04:00
flags-posts-old.hbs REFACTOR: Convert admin flagged posts to a component 2017-09-25 12:25:14 -04:00
flags-topics-index.hbs FIX: Add topic status to flagged topics list 2019-01-09 10:59:35 -05:00
flags-topics-show.hbs Add front end service for staff controls 2017-09-25 12:25:14 -04:00
flags.hbs FEATURE: Site Setting to determine whether flags defaults to topics 2017-10-20 12:37:20 -04:00
logs.hbs FEATURE: search log term details page (#5445) 2017-12-20 13:41:31 +11:00
permalinks.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
plugins-index.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
plugins.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
reports-show.hbs FIX: improves report-show mobile UI (#6229) 2018-08-01 19:54:27 -04:00
search-logs-index.hbs REFACTOR: Calculate CTR in SearchLog model and hide unique column (#6791) 2018-12-18 19:13:46 +05:30
search-logs-term.hbs FEATURE: show header search results on search log term details page 2018-01-17 12:47:16 +05:30
site-settings-category.hbs UX: show a message when more than 30 site settings matches the current filter 2018-05-16 15:37:40 +02:00
site-settings.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
site-text-edit.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
site-text-index.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
site-text.hbs FEATURE: Can override any translation via an admin interface 2015-11-27 11:35:19 -05:00
user-badges.hbs Fixing broken badge grant layout 2018-10-26 11:06:31 -04:00
user-fields.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
user-index.hbs FIX: profile picture not showing up on user admin page 2019-01-16 09:21:11 +05:30
user-tl3-requirements.hbs FIX: Don't allow a user to become TL3 if they've ever been penalized 2018-04-24 15:15:32 -04:00
user.hbs Remove the ScrollTop Mixin 2016-11-10 15:25:04 -05:00
users-list-show.hbs FIX: hide emails on admin user list for moderators (#6781) 2018-12-19 10:24:57 +01:00
users-list.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
version-checks.hbs dashboard style updates 2018-05-16 15:07:35 -04:00
watched-words-action.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
watched-words.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
web-hooks-show-events.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
web-hooks-show.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
web-hooks.hbs DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00