Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-webui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-webui
Commits
f0818b7e
Verified
Commit
f0818b7e
authored
3 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
Make footer parts configurable
parent
5910e39c
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!59
REL: release 0.4.1
,
!48
ENH: docs link in footer
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build.properties.d/00_default.properties
+18
-2
18 additions, 2 deletions
build.properties.d/00_default.properties
src/core/xsl/footer.xsl
+5
-5
5 additions, 5 deletions
src/core/xsl/footer.xsl
with
23 additions
and
7 deletions
build.properties.d/00_default.properties
+
18
−
2
View file @
f0818b7e
...
...
@@ -77,7 +77,7 @@ BUILD_FAVICON=pics/caosdb_logo_42.png
##############################################################################
# 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>
# element).
...
...
@@ -90,7 +90,23 @@ BUILD_FOOTER_CUSTOM_ELEMENT_ONE=
# ${BUILD_NUMBER}.
BUILD_FOOTER_CUSTOM_ELEMENT_TWO
=
# 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
...
...
This diff is collapsed.
Click to expand it.
src/core/xsl/footer.xsl
+
5
−
5
View file @
f0818b7e
...
...
@@ -35,17 +35,17 @@
</div>
</div>
<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>
<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>
<a
href=
"${BUILD_FOOTER_DATA_POLICY_HREF}"
>
Data Policy
</a>
<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>
<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>
<a
href=
"
https://docs.indiscale.com
"
target=
"_blank"
>
Documentation
</a>
<a
href=
"
${BUILD_FOOTER_DOCS_HREF}
"
target=
"_blank"
>
Documentation
</a>
</div>
</xsl:template>
</xsl:stylesheet>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment