diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-11-15 16:14:30 -0800 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-11-15 16:14:30 -0800 |
| commit | 9e5714aee817637ee954e8529da33c1be6f7ef19 (patch) | |
| tree | ba25e68b2127e427a73931151946a6157f5a9a18 /modules/gallery/views | |
| parent | 6ec81006e7ac8ebc61d15af22e3bbda782c46b68 (diff) | |
Tweak upgrader html and css so that we set opacity properly for rows
that are done, and disable the upgrade link when there're no actions
to take.
Diffstat (limited to 'modules/gallery/views')
| -rw-r--r-- | modules/gallery/views/upgrader.html.php | 8 |
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" : "" ?>"> |
