Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 30554c2

Browse files
author
Jamie Snape
committed
Add back button to some config pages
1 parent 9fd8462 commit 30554c2

File tree

3 files changed

+31
-2
lines changed

3 files changed

+31
-2
lines changed

modules/archive/views/config/index.phtml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ $this->headScript()->appendFile($this->coreWebroot.'/public/js/jquery/jquery.for
2222
?>
2323

2424
<div class="viewMain">
25+
<div class ="genericWrapperTopRight">
26+
<?php
27+
echo '<div style="float:right;margin-right:2px;" class="genericBigButton ">';
28+
echo "<a href='{$this->webroot}/admin#tabs-modules'><img style='float:left;margin-right:2px;' alt='' src='{$this->coreWebroot}/public/images/icons/back.png'/>";
29+
echo $this->t('Back');
30+
echo "</a>";
31+
echo '</div>';
32+
?>
33+
</div>
2534
<div class="unzipCommandDescription">
2635
<p>
2736
If you want to use this module for extracting zip archives over 2GB, you will need to enter

modules/communityagreement/views/config/index.phtml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,17 @@
1919
=========================================================================*/
2020
?>
2121

22-
<div>
23-
<?php echo $this->t('Community Agreement module is enabled.'); ?>
22+
<div class="viewMain">
23+
<div class ="genericWrapperTopRight">
24+
<?php
25+
echo '<div style="float:right;margin-right:2px;" class="genericBigButton ">';
26+
echo "<a href='{$this->webroot}/admin#tabs-modules'><img style='float:left;margin-right:2px;' alt='' src='{$this->coreWebroot}/public/images/icons/back.png'/>";
27+
echo $this->t('Back');
28+
echo "</a>";
29+
echo '</div>';
30+
?>
31+
</div>
32+
<?php
33+
echo $this->t('Community Agreement module is enabled.');
34+
?>
2435
</div>

modules/readmes/views/config/index.phtml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@
1919
=========================================================================*/
2020
?>
2121
<div class="viewMain">
22+
<div class ="genericWrapperTopRight">
23+
<?php
24+
echo '<div style="float:right;margin-right:2px;" class="genericBigButton ">';
25+
echo "<a href='{$this->webroot}/admin#tabs-modules'><img style='float:left;margin-right:2px;' alt='' src='{$this->coreWebroot}/public/images/icons/back.png'/>";
26+
echo $this->t('Back');
27+
echo "</a>";
28+
echo '</div>';
29+
?>
30+
</div>
2231
<h3>Instructions for Use</h3>
2332
<p>This module is intended to provide Readmes for communities as well as
2433
folders. The text of these readmes will be interpreted from

0 commit comments

Comments
 (0)