Skip to content

Commit

Permalink
Merge branch '4.0-dev' into zero-24-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonge committed Apr 16, 2019
2 parents 2045f17 + 18840fb commit f2a4400
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions administrator/templates/atum/html/layouts/chromes/well.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@
<?php if ($canEdit || $canChange) : ?>
<?php $dropdownPosition = Factory::getLanguage()->isRTL() ? 'left' : 'right'; ?>
<div class="module-actions dropdown">
<a data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="dropdownMenuButton-<?php echo $id; ?>">
<button type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="dropdownMenuButton-<?php echo $id; ?>">
<span class="fa fa-cog"><span class="sr-only">
<?php echo Text::_('JACTION_EDIT') . ' ' . $module->title; ?>
</span></span>
</a>
</button>
<div class="dropdown-menu dropdown-menu-' . $dropdownPosition . '" aria-labelledby="dropdownMenuButton-<?php echo $id; ?>">
<?php if ($canEdit) : ?>
<?php $uri = Uri::getInstance(); ?>
<?php $url = Route::_('index.php?option=com_modules&task=module.edit&id=' . $id . '&return=' . base64_encode($uri)); ?>
<a class="dropdown-item" href="<?php echo $url; ?>"><?php echo Text::_('JACTION_EDIT'); ?></a>
<?php endif; ?>
<?php if ($canChange) : ?>
<a class="dropdown-item unpublish-module" data-module-id="<?php echo $id; ?>"><?php echo Text::_('JACTION_UNPUBLISH'); ?></a>
<button type="button" class="dropdown-item unpublish-module" data-module-id="<?php echo $id; ?>"><?php echo Text::_('JACTION_UNPUBLISH'); ?></button>
<?php endif; ?>
</div>
</div>
Expand Down

0 comments on commit f2a4400

Please sign in to comment.