summaryrefslogtreecommitdiff
path: root/modules/gallery/views/upgrader.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/views/upgrader.html.php')
-rw-r--r--modules/gallery/views/upgrader.html.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/gallery/views/upgrader.html.php b/modules/gallery/views/upgrader.html.php
index 44234ec0..90e1c5b6 100644
--- a/modules/gallery/views/upgrader.html.php
+++ b/modules/gallery/views/upgrader.html.php
@@ -58,11 +58,17 @@
<? endforeach ?>
</table>
- <div class="button">
+ <? if ($done): ?>
+ <div class="button muted">
+ <?= t("Upgrade all") ?>
+ </div>
+ <? else: ?>
+ <div class="button button-active">
<a href="<?= url::site("upgrader/upgrade") ?>">
<?= t("Upgrade all") ?>
</a>
</div>
+ <? endif ?>
<? if (@$inactive): ?>
<p class="<?= $done ? "muted" : "" ?>">