diff options
author | Christopher Ng <chrng8@gmail.com> | 2022-08-12 01:30:42 +0000 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2022-09-15 19:09:13 +0000 |
commit | 8eb46c995ed1da3ce334487eecc46ef3eff4ede4 (patch) | |
tree | 06792d5e33dab077028da7a7a60301527685ebd9 /apps/settings/templates | |
parent | ca747b91d4aa907b191119f080d213bfb5e60fd2 (diff) | |
download | nextcloud-server-8eb46c995ed1da3ce334487eecc46ef3eff4ede4.tar.gz nextcloud-server-8eb46c995ed1da3ce334487eecc46ef3eff4ede4.zip |
Remake group and quota details section with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/settings/templates')
-rw-r--r-- | apps/settings/templates/settings/personal/personal.info.php | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/apps/settings/templates/settings/personal/personal.info.php b/apps/settings/templates/settings/personal/personal.info.php index 551a781736b..085eb1bc0f5 100644 --- a/apps/settings/templates/settings/personal/personal.info.php +++ b/apps/settings/templates/settings/personal/personal.info.php @@ -49,31 +49,7 @@ script('settings', [ <div id="personal-settings-avatar-container" class="personal-settings-container"> <div id="vue-avatar-section"></div> <div class="personal-settings-setting-box personal-settings-group-box section"> - <h3><?php p($l->t('Details')); ?></h3> - <div id="groups" class="personal-info icon-user"> - <p><?php p($l->t('You are a member of the following groups:')); ?></p> - <p id="groups-groups"> - <strong><?php p(implode(', ', $_['groups'])); ?></strong> - </p> - </div> - <div id="quota" class="personal-info icon-quota"> - <div class="quotatext-bg"> - <p class="quotatext"> - <?php if ($_['quota'] === \OCP\Files\FileInfo::SPACE_UNLIMITED) : ?> - <?php print_unescaped($l->t( - 'You are using <strong>%s</strong>', - [$_['usage']] - )); ?> - <?php else : ?> - <?php print_unescaped($l->t( - 'You are using <strong>%1$s</strong> of <strong>%2$s</strong> (<strong>%3$s %%</strong>)', - [$_['usage'], $_['total_space'], $_['usage_relative']] - )); ?> - <?php endif ?> - </p> - </div> - <progress value="<?php p($_['usage_relative']); ?>" max="100" <?php if ($_['usage_relative'] > 80) : ?> class="warn" <?php endif; ?>></progress> - </div> + <div id="vue-details-section"></div> </div> </div> |