Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

add icon to dev version (ref #1221) #1222

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ localizeresources: clean

html: localizeresources p-html

p-html: output/html/version.txt output/html/version-ltr.txt output/html/version.json source/site/getinvolved/development/schedule.inc source/schedule.py $(BUILDDIR)/schedule.ics
p-html: output/html/version.txt output/html/version-ltr.txt output/html/version.json source/site/getinvolved/development/schedule.inc source/schedule.py $(BUILDDIR)/schedule.ics themes/qgis-theme/static/qgis-style.css
$(SPHINXINTL) --config $(SOURCEDIR)/conf.py build --language=$(LANG)

# ONLY in the english version run in nit-picky mode, so source errors/warnings will fail in CI
Expand Down
5 changes: 4 additions & 1 deletion scripts/update-schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ def adduid(ev, uid):
.. role:: rm-current
.. role:: rm-next
.. role:: rm-future
.. role:: rm-dev

.. csv-table:: Schedule
:header: "Event", "Latest", "Long-Term Repo", "Freeze", "Date", "Week #", "Weeks"
Expand All @@ -156,6 +157,7 @@ def adduid(ev, uid):

lr_style = "rm-past"
ltr_style = "rm-past"
dev_style = "rm-dev"

for event, lr, ltr, dev, date, weekno, weeks in rows:
if ltr == ltr_version:
Expand All @@ -167,7 +169,8 @@ def adduid(ev, uid):
(":rm-current:`{}`" if "rm-current" in [ltr_style, lr_style] else "{}").format(event),
":{}:`{}`".format(lr_style, lr) if lr else "",
":{}:`{}`".format(ltr_style, ltr) if ltr else "",
dev, date, weekno, weeks
":{}:`{}`".format(dev_style, dev) if dev else "",
date, weekno, weeks
]) + '"\n')

if ltr_style == "rm-current":
Expand Down
1 change: 1 addition & 0 deletions themes/qgis-theme/static/qgis-style.less
Original file line number Diff line number Diff line change
Expand Up @@ -1031,6 +1031,7 @@ img.align-right, .figure.align-right, object.align-right {
#roadmap .rm-past { color: gray; }
#roadmap .rm-past:hover { color: black; }
#roadmap .rm-future { color: gray; }
#roadmap .rm-dev:after { content:" 🥶"; }
#roadmap tr:hover { background-color: lightgreen; font-weight: bold; color: white; }
#roadmap .rm-current { font-weight: bolder; color: green; }
#roadmap .rm-next { font-weight: bold; color: blue; }
Expand Down