https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29712

--- Comment #3 from Caroline Cyr La Rose <[email protected]> ---
I did some tests with directives and "admonitions" (this sounds so bad... like
we did something wrong but anyway, it's what it's called).


This is what the code looks like

Tests for version notes

.. Admonition:: Version note

   This feature|button|option appears in version 23.05

.. Warning:: 

   This feature|button|option was removed in version 23.05  

.. Warning::

   This feature|button|option is deprecated as of version 23.05.
   Use :ref:`YXZ <administration-label>` instead.

.. Admonition:: Version note

   This feature|button|option was removed in version 23.05

.. Admonition:: Version note

   This feature|button|option was moved to :ref:`wherever
<administration-label>` in version 23.05


And this is what it looks like once generated https://snipboard.io/fw3eX0.jpg 

I added some css to custom.css to change the colour if the title of the
admonition is "Version note"

.rst-content .admonition-version-note {
  background: #dffcd7;
  }

.rst-content .admonition-version-note .admonition-title {
  background: #4a9b32;
  }

This is the result https://snipboard.io/THSpGn.jpg

Open to comments/suggestions
- Is "Version note" ok as a title?
- Do we prefer the green box or do we keep the blue (same as the Notes)
- Anything else?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to