overleaf-cep/services/web/app/views/_mixins/back_to_btns.pug
Rebeka Dekany c40ab3234d Prettier for PUG templates (#26170)
* Setup prettier

* Ignore these pug templates by prettier

* Fix typo

* Fix prettier error

* Add prettier-ignore for quoting of event-segmentation attribute

* Manual tab indentation

* Interpolate

* Remove unbuffered if conditional

* Inline event-segmentation objects and remove prettier-ignore rule

* Fix spacing before interpolation

* Source format

* Source format

GitOrigin-RevId: c30e037f5caf8f91efc1bd9e75f81ae533b5a506
2025-06-24 08:05:06 +00:00

6 lines
290 B
Text

mixin back-to-btns(settingsAnchor)
.d-flex.flex-column.flex-sm-row.gap-3
a.btn.btn-secondary(
href=`/user/settings${settingsAnchor ? '#' + settingsAnchor : '' }`
) #{translate('back_to_account_settings')}
a.btn.btn-secondary(href='/project') #{translate('back_to_your_projects')}