devilry / trix2

Next generation Trix. Detailed task control and statistics app for better learning outcome.
BSD 3-Clause "New" or "Revised" License
2 stars 3 forks source link

Footer customization #108

Closed torgeirl closed 1 year ago

torgeirl commented 1 year ago

Sysadmins will need to modify the default footer to include the service's contact information, bug reporting, etc.

Levijatan commented 1 year ago

Added the ability to override the footer template inn a same manner as the consent template

torgeirl commented 1 year ago

This might be fixed with #109, but in 3.0.0b12 there is some weird extra space when adding custom links to the footer:

Screenshot from 2022-12-06 15-30-56

The source contains one empty div tag (report_bug I assume) before accessibly, but there isn't anything extra between the wcag and contact_info:

(...)
<div class="trix-footer">
    <div>

    </div>
    <div>
            <span class="fa fa-eye-slash"></span>
            <a href="/wcag">Deaktiver tilgjengelighetsfarger</a>
    </div>
    <div>
            <a href="link1">Hjelp</a>
            <a href="link2">Personvern</a>
    </div>
</div>
        </footer>
    </body>
</html>
Levijatan commented 1 year ago

Changed it to have a block called body inside a div, instead of different blocks in their own divs. Seems to have removed the extra spacing. Created a b13 prerelease.

torgeirl commented 1 year ago

Solved with 3.0.0b13.