Adding a class to css


(Evgeny) #1

At the moment, on the pages:


https://meta.discourse.org/latest
https://meta.discourse.org/new
https://meta.discourse.org/unread
https://meta.discourse.org/top
...

Class used:

<body class="navigation-topics" ...

offer

<body class="navigation-topics latest" 
<body class="navigation-topics new" 
<body class="navigation-topics unread" 
<body class="navigation-topics top" 
...

why?

Added more options for sorting topics on pages. For example:


<style>.navigation-topics tr.category-other{display: none;}</style>

{{#if currentUser.custom_fields.other_profile}}
   <style>.navigation-topics tr.category-other{display: table-row !important;}</style>
{{/if}}