diff options
| author | 2023-01-17 15:39:55 +0100 | |
|---|---|---|
| committer | 2023-01-17 15:39:55 +0100 | |
| commit | 0ab130eb9c3df3227a70624bcd5e8133afb00ae5 (patch) | |
| tree | 248503a1d1035d72093f60479d165064249a54bb /app/views | |
| parent | e67ca8c86672edff7849965fc7cf85af56340983 (diff) | |
Added: Mark theme as deprecated (#4807)
* i18n + config
* docs
* deprecated marked themes
* fix
* fix markdown
* i18n: fix link params
* i18n: French
* deprecated => no longer supported
* i18n: German
* Docs: deprecated => no longer supported
* Docs: French
* i18n: en-us
* i18n German
* isset() -> !empty()
* i18n: fix German
* i18n: English, delete // TODO
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/configure/display.phtml | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/app/views/configure/display.phtml b/app/views/configure/display.phtml index 8d23f6ef0..986d7dd17 100644 --- a/app/views/configure/display.phtml +++ b/app/views/configure/display.phtml @@ -71,8 +71,18 @@ <?php } ?> </div> <div class="properties"> - <div><?= sprintf('%s — %s %s', $theme['name'], _t('gen.short.by_author'), $theme['author']) ?></div> - <div><?= $theme['description'] ?></div> + <div> + <?php if (!empty($theme['deprecated'])) { ?> + <span class="deprecated error"><?= _t('conf.display.theme.deprecated') ?>:</span> + <?php } ?> + <?= sprintf('%s — %s %s', $theme['name'], _t('gen.short.by_author'), $theme['author']) ?> + </div> + <div> + <?php if (!empty($theme['deprecated'])) { ?> + <span class="deprecated"><?= _t('conf.display.theme.deprecated.description') ?></span><br /> + <?php } ?> + <?= $theme['description'] ?> + </div> <div class="page-number"><?= sprintf('%d/%d', $i, $slides) ?></div> </div> </li> |
