Loading Dockerfile +4 −0 Original line number Diff line number Diff line Loading @@ -162,6 +162,10 @@ RUN sed -i 's/update/error/g' ${BASE_DIR}/apps/dav/templates/schedule-response-e # Fix the navbar entries RUN sed -i 's/this.appLimit=e/this.appLimit=this.appList.length/' ${BASE_DIR}/dist/core-main.js # Fix total quota value for users in settings and files RUN sed -i "s/'total'/'quota'/" ${BASE_DIR}/apps/files/lib/Controller/ViewController.php RUN sed -i "s/'total'/'quota'/" ${BASE_DIR}/apps/settings/lib/Settings/Personal/PersonalInfo.php From selfhost as ecloud ARG BASE_DIR="/usr/src/nextcloud" ARG TMP_PATCH_DIR="/tmp/build_patches" Loading patches/028-template-quota-value-fix.patch 0 → 100644 +11 −0 Original line number Diff line number Diff line --- appnavigation.php 2023-06-12 17:12:24.538688146 +0530 +++ appnavigation-new.php 2023-06-12 17:13:38.564123032 +0530 @@ -19,7 +19,7 @@ <li id="quota" class="has-tooltip pinned <?php p($pinned === 0 ? 'first-pinned ' : '') ?>" title="<?php p($l->t('%s%%', [round($_['usage_relative'])])); ?>"> <a href="#" class="icon-quota svg quota-navigation-item"> - <p id="quotatext" class="quota-navigation-item__text"><?php p($l->t('%1$s of %2$s used', [$_['usage'], $_['total_space']])); ?></p> + <p id="quotatext" class="quota-navigation-item__text"><?php p($l->t('%1$s of %2$s used', [$_['usage'], $_['quota']])); ?></p> <div class="quota-navigation-item__container"> <progress value="<?php p($_['usage_relative']); ?>" max="100" class="<?= ($_['usage_relative'] > 80) ? 'warn' : '' ?>"></progress> </div> Loading
Dockerfile +4 −0 Original line number Diff line number Diff line Loading @@ -162,6 +162,10 @@ RUN sed -i 's/update/error/g' ${BASE_DIR}/apps/dav/templates/schedule-response-e # Fix the navbar entries RUN sed -i 's/this.appLimit=e/this.appLimit=this.appList.length/' ${BASE_DIR}/dist/core-main.js # Fix total quota value for users in settings and files RUN sed -i "s/'total'/'quota'/" ${BASE_DIR}/apps/files/lib/Controller/ViewController.php RUN sed -i "s/'total'/'quota'/" ${BASE_DIR}/apps/settings/lib/Settings/Personal/PersonalInfo.php From selfhost as ecloud ARG BASE_DIR="/usr/src/nextcloud" ARG TMP_PATCH_DIR="/tmp/build_patches" Loading
patches/028-template-quota-value-fix.patch 0 → 100644 +11 −0 Original line number Diff line number Diff line --- appnavigation.php 2023-06-12 17:12:24.538688146 +0530 +++ appnavigation-new.php 2023-06-12 17:13:38.564123032 +0530 @@ -19,7 +19,7 @@ <li id="quota" class="has-tooltip pinned <?php p($pinned === 0 ? 'first-pinned ' : '') ?>" title="<?php p($l->t('%s%%', [round($_['usage_relative'])])); ?>"> <a href="#" class="icon-quota svg quota-navigation-item"> - <p id="quotatext" class="quota-navigation-item__text"><?php p($l->t('%1$s of %2$s used', [$_['usage'], $_['total_space']])); ?></p> + <p id="quotatext" class="quota-navigation-item__text"><?php p($l->t('%1$s of %2$s used', [$_['usage'], $_['quota']])); ?></p> <div class="quota-navigation-item__container"> <progress value="<?php p($_['usage_relative']); ?>" max="100" class="<?= ($_['usage_relative'] > 80) ? 'warn' : '' ?>"></progress> </div>