diff options
| author | 2022-03-15 22:58:30 +0100 | |
|---|---|---|
| committer | 2022-03-15 22:58:30 +0100 | |
| commit | be5848fd4fa280e5a4606fef25669974414547a5 (patch) | |
| tree | c11af74c2a64bdf4f1e59a4841d81d77f5977d4d /app/views/helpers/index/normal/entry_bottom.phtml | |
| parent | bdf7e4d29d954c3d2c137948577b6872c3de4656 (diff) | |
Improved: Sharing/Integration configuration (#4269)
* stick plus button to select list
* HTML improved very much
* drag and drop improved
* add URL button
* fix remove button behavior
* prepare for PR#4238
* improve length of inputs
* First draft of documentation of the sharing services
* new config option: depricated
* i18n for depricated text
* Doc: Blogotext depricated to 2023
* dropdown menu with config link and depricated sign
* Update entry_bottom.phtml
* Update 08_sharing_services.md
* Update template.rtl.css
* Typo Deprecated/Depricated
* typo
* updated the documentation comment
* Update shares.php
* Update app/i18n/fr/conf.php
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
* Update p/scripts/draggable.js
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
* Update p/scripts/draggable.js
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
* Documentation: services from #4270
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/views/helpers/index/normal/entry_bottom.phtml')
| -rw-r--r-- | app/views/helpers/index/normal/entry_bottom.phtml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/helpers/index/normal/entry_bottom.phtml b/app/views/helpers/index/normal/entry_bottom.phtml index 1b6180c47..9be6b99f7 100644 --- a/app/views/helpers/index/normal/entry_bottom.phtml +++ b/app/views/helpers/index/normal/entry_bottom.phtml @@ -80,7 +80,8 @@ </a> <ul class="dropdown-menu"> - <li class="dropdown-close"><a href="#close">❌</a></li><?php + <li class="dropdown-close"><a href="#close">❌</a></li> + <li class="dropdown-header"><?= _t('index.share') ?> <a href="<?= _url('configure', 'integration') ?>"><?= _i('configure') ?></a></li><?php $id = $this->entry->id(); $link = $this->entry->link(); $title = $this->entry->title() . ' · ' . $this->feed->name(); @@ -89,11 +90,12 @@ if ($share === null) { continue; } + $cssClass = $share->isDeprecated() ? ' error' : ''; $share_options['id'] = $id; $share_options['link'] = $link; $share_options['title'] = $title; $share->update($share_options); - ?><li class="item share"> + ?><li class="item share<?= $cssClass ?>"> <?php if ('GET' === $share->method()) {?> <a target="_blank" rel="noreferrer" href="<?= $share->url() ?>" data-type="<?= $share->type() ?>"><?= $share->name() ?></a> <?php } else {?> |
