From 333bebe7ecd7c859023b96544a27da2258479e67 Mon Sep 17 00:00:00 2001 From: Tim Kreuzer <t.kreuzer@fz-juelich.de> Date: Tue, 11 Feb 2025 18:43:28 +0100 Subject: [PATCH] add announcement --- templates/macros/table/config/announcement.jinja | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/templates/macros/table/config/announcement.jinja b/templates/macros/table/config/announcement.jinja index 1d4e7fe..fd53916 100644 --- a/templates/macros/table/config/announcement.jinja +++ b/templates/macros/table/config/announcement.jinja @@ -1,13 +1,16 @@ {%- import "macros/svgs.jinja" as svg -%} -{%- set show_announcement = false %} +{%- set show_announcement = true %} {%- macro announcement() %} <div class="alert bg-info alert-dismissible fade show" style="color: #023d6b;" role="alert"> <h4 class="alert-heading"> {{ svg.announcement_svg | safe }} - <span class="align-middle">This is the announcement title</span> + <span class="align-middle">Frontend Update is now live on staging!</span> </h4> - This is my announcement text. + Hey my fellow Outpost administrators. I've updated the frontend a little bit. The "user_options" you receive during the starting phase has changed. Please update your Outpost config. + You find an example configuration <a href="https://gitlab.jsc.fz-juelich.de/kaas/jupyter/-/blob/jupyter-stag-other/outposts/kube/values/base/config.yaml#L793">here</a>. + To see what the central hub sends to your Outpost in spawner.user_options, open the console in your browser (press F12) and click on Start. + Further questions? Feel free to contact you know who! <button type="button" class="btn-close" data-bs-dismiss="alert"></button> </div> -{%- endmacro %} \ No newline at end of file +{%- endmacro %} -- GitLab