mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-11-28 08:52:00 +02:00
[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 <magic@kthx.at>
This commit is contained in:
parent
98bc947d00
commit
bdd8b4a5ab
@ -204,8 +204,6 @@ legend {
|
||||
color: #959595;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100% !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
.footer .version {
|
||||
margin-left: auto;
|
||||
|
@ -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 '<?php' > 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 '<?php' > data/web/inc/app_info.inc.php
|
||||
|
@ -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 '<?php' > 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 '<?php' > data/web/inc/app_info.inc.php
|
||||
|
Loading…
Reference in New Issue
Block a user