Skip to content
Snippets Groups Projects
Verified Commit f0818b7e authored by Timm Fitschen's avatar Timm Fitschen
Browse files

Make footer parts configurable

parent 5910e39c
Branches
Tags
2 merge requests!59REL: release 0.4.1,!48ENH: docs link in footer
...@@ -77,7 +77,7 @@ BUILD_FAVICON=pics/caosdb_logo_42.png ...@@ -77,7 +77,7 @@ BUILD_FAVICON=pics/caosdb_logo_42.png
############################################################################## ##############################################################################
# Link to the data policy statement document. # Link to the data policy statement document.
BUILD_FOOTER_DATA_POLICY_HREF=https://missing-domain.com/missing-page BUILD_FOOTER_DATA_POLICY_HREF="Please configure me!"
# Custom footer elements can be placed here (will be placed inside a <div> # Custom footer elements can be placed here (will be placed inside a <div>
# element). # element).
...@@ -90,7 +90,23 @@ BUILD_FOOTER_CUSTOM_ELEMENT_ONE= ...@@ -90,7 +90,23 @@ BUILD_FOOTER_CUSTOM_ELEMENT_ONE=
# ${BUILD_NUMBER}. # ${BUILD_NUMBER}.
BUILD_FOOTER_CUSTOM_ELEMENT_TWO= BUILD_FOOTER_CUSTOM_ELEMENT_TWO=
# BUILD_FOOTER_CUSTOM_ELEMENT_TWO=$(cat footer_element_2.html) # BUILD_FOOTER_CUSTOM_ELEMENT_TWO=$(cat footer_element_2.html)
BUILD_CUSTOM_IMPRINT='<p> Put an imprint note here </p>'
# Contact mail or link to contact information for the responsible administrator of this caosdb server instance.
BUILD_FOOTER_CONTACT_HREF="Please configure me!"
#BUILD_FOOTER_CONTACT_HREF=mailto:info@indiscale.com
# Link to imprint for this caosdb server instance.
BUILD_FOOTER_IMPRINT_HREF="Please configure me!"
#BUILD_FOOTER_IMPRINT_HREF=https://www.indiscale.com/imprint/
# Link to docs (should rarely be changed (maybe for additional docs))
BUILD_FOOTER_DOCS_HREF="https://docs.indiscale.com"
# Link to sources (should almost never be changed (maybe for additional sources))
BUILD_FOOTER_SOURCES_HREF="https://gitlab.com/caosdb"
# Link to license (should almost never be changed (maybe for other languages))
BUILD_FOOTER_LICENCE_HREF="https://www.gnu.org/licenses/agpl-3.0.en.html"
############################################################################## ##############################################################################
# ext_trigger_crawler_form properties # ext_trigger_crawler_form properties
......
...@@ -35,17 +35,17 @@ ...@@ -35,17 +35,17 @@
</div> </div>
</div> </div>
<div class="container d-flex flex-md-row flex-column justify-content-center"> <div class="container d-flex flex-md-row flex-column justify-content-center">
<a href="mailto:info@indiscale.com">Contact</a> <a href="${BUILD_FOOTER_CONTACT_HREF}">Contact</a>
<span class="caosdb-bulletsep d-none d-md-inline"></span> <span class="caosdb-bulletsep d-none d-md-inline"></span>
<a href="https://www.indiscale.com/imprint/">Imprint/Impressum</a> <a href="${BUILD_FOOTER_IMPRINT_HREF}">Imprint/Impressum</a>
<span class="caosdb-bulletsep d-none d-md-inline"></span> <span class="caosdb-bulletsep d-none d-md-inline"></span>
<a href="${BUILD_FOOTER_DATA_POLICY_HREF}">Data Policy</a> <a href="${BUILD_FOOTER_DATA_POLICY_HREF}">Data Policy</a>
<span class="caosdb-bulletsep d-none d-md-inline"></span> <span class="caosdb-bulletsep d-none d-md-inline"></span>
<a href="https://www.gnu.org/licenses/agpl-3.0.en.html" target="_blank">License (AGPL-v3)</a> <a href="${BUILD_FOOTER_LICENCE_HREF}" target="_blank">License (AGPL-v3)</a>
<span class="caosdb-bulletsep d-none d-md-inline"></span> <span class="caosdb-bulletsep d-none d-md-inline"></span>
<a href="https://gitlab.com/caosdb" target="_blank">Sources</a> <a href="${BUILD_FOOTER_SOURCES_HREF}" target="_blank">Sources</a>
<span class="caosdb-bulletsep d-none d-md-inline"></span> <span class="caosdb-bulletsep d-none d-md-inline"></span>
<a href="https://docs.indiscale.com" target="_blank">Documentation</a> <a href="${BUILD_FOOTER_DOCS_HREF}" target="_blank">Documentation</a>
</div> </div>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment