[icinga-checkins] icinga.org: icingaweb2/feature/collapsible-container-9566: Update labels for collapsible ghost control

git at icinga.org git at icinga.org
Mon Jun 6 09:48:25 CEST 2016


Module: icingaweb2
Branch: feature/collapsible-container-9566
Commit: f66f4770660c0d20d62b9b2759b1e992c97b5fb5
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=f66f4770660c0d20d62b9b2759b1e992c97b5fb5

Author: Eric Lippmann <eric.lippmann at netways.de>
Date:   Mon Jun  6 09:47:27 2016 +0200

Update labels for collapsible ghost control

refs #9566

---

 application/layouts/scripts/layout.phtml |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/application/layouts/scripts/layout.phtml b/application/layouts/scripts/layout.phtml
index 972572a..5a51d34 100644
--- a/application/layouts/scripts/layout.phtml
+++ b/application/layouts/scripts/layout.phtml
@@ -54,7 +54,7 @@ $innerLayoutScript = $this->layout()->innerLayout . '.phtml';
 <?= $this->render($innerLayoutScript); ?>
 </div>
 <iframe id="fileupload-frame-target" name="fileupload-frame-target"></iframe>
-<button id="collapsible-control-ghost" title="Close container" aria-label="<?= t('Close container') ?>" data-labels='{ "def": "<?= t("Collapse") ?>", "collapsed": "<?= t("Show more") ?>"}' class="collapsible-control"></button>
+<button id="collapsible-control-ghost" title="<?= $this->translate('Collapse') ?>" aria-label="<?= t('Collapse') ?>" data-label-expand="<?= t('Expand') ?>" class="collapsible-control"></button>
 <!--[if IE 8]>
 <script type="text/javascript" src="<?= $this->href($ie8jsfile) ?>"></script>
 <![endif]-->



More information about the icinga-checkins mailing list