mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 13:03:45 +08:00
5552e257d8
While updating all user pages to use the new horizontal, scrollable user page navigation, we've inadvertently broken the interface for plugins which rely on the `user-main-nav` plugin outlet to extend the user profile page. Such plugins usually add a new user profile page with the following template structure which is copied from Discourse core before the user page navigation redesign: ``` {{#d-section pageClass="..." class="user-secondary-navigation" scrollTop=false}} {{#mobile-nav class="..." desktopClass="action-list nav-stacked"}} ... {{/mobile-nav}} {{/d-section}} <section class="user-content"> {{outlet}} </section> ``` This commit seeks to add backwards compatibility in terms of the styling of the interface such that even if the old template structure is used, it would not look completely broken. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |