From bdd8b4a5abe4f142c0e2a6a3ba12e19730538884 Mon Sep 17 00:00:00 2001 From: FreddleSpl0it <75116288+FreddleSpl0it@users.noreply.github.com> Date: Sat, 5 Mar 2022 23:27:36 +0100 Subject: [PATCH] [Web] Footer fix (#4500) * Fix issue forms * [GH-Actions][stale] Update to v5.0.0 * [Web] fix version footer * [Web] fix footer - hard coded repo url Co-authored-by: Peter --- data/web/css/build/008-mailcow.css | 2 -- generate_config.sh | 3 +-- update.sh | 3 +-- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/data/web/css/build/008-mailcow.css b/data/web/css/build/008-mailcow.css index 4d45a75e..d7533424 100644 --- a/data/web/css/build/008-mailcow.css +++ b/data/web/css/build/008-mailcow.css @@ -204,8 +204,6 @@ legend { color: #959595; display: flex; flex-direction: column; - width: 100% !important; - padding: 0 !important; } .footer .version { margin-left: auto; diff --git a/generate_config.sh b/generate_config.sh index 6bef72ea..f2f444c5 100755 --- a/generate_config.sh +++ b/generate_config.sh @@ -365,10 +365,9 @@ cp -n -d data/assets/ssl-example/*.pem data/assets/ssl/ # Set app_info.inc.php mailcow_git_version=$(git describe --tags `git rev-list --tags --max-count=1`) if [ $? -eq 0 ]; then - mailcow_git_url=$(git config --get remote.origin.url) echo ' data/web/inc/app_info.inc.php echo ' $MAILCOW_GIT_VERSION="'$mailcow_git_version'";' >> data/web/inc/app_info.inc.php - echo ' $MAILCOW_GIT_URL="'$mailcow_git_url'";' >> data/web/inc/app_info.inc.php + echo ' $MAILCOW_GIT_URL="https://github.com/mailcow/mailcow-dockerized";' >> data/web/inc/app_info.inc.php echo '?>' >> data/web/inc/app_info.inc.php else echo ' data/web/inc/app_info.inc.php diff --git a/update.sh b/update.sh index 033aa140..2f336428 100755 --- a/update.sh +++ b/update.sh @@ -722,10 +722,9 @@ fi # Set app_info.inc.php mailcow_git_version=$(git describe --tags `git rev-list --tags --max-count=1`) if [ $? -eq 0 ]; then - mailcow_git_url=$(git config --get remote.origin.url) echo ' data/web/inc/app_info.inc.php echo ' $MAILCOW_GIT_VERSION="'$mailcow_git_version'";' >> data/web/inc/app_info.inc.php - echo ' $MAILCOW_GIT_URL="'$mailcow_git_url'";' >> data/web/inc/app_info.inc.php + echo ' $MAILCOW_GIT_URL="https://github.com/mailcow/mailcow-dockerized";' >> data/web/inc/app_info.inc.php echo '?>' >> data/web/inc/app_info.inc.php else echo ' data/web/inc/app_info.inc.php