Andreas Nedbal
61a9e39a3e
Fix dropdowns in mobile navigation
2023-01-05 10:35:52 +01:00
Andreas Nedbal
572a9ab076
Fix positioning of dropdown menus
2023-01-05 10:35:52 +01:00
Andreas Nedbal
09954c15d2
Fix data attributes for functionality in Bootstrap 5
2023-01-05 10:35:52 +01:00
Andreas Nedbal
ec5dda9f66
Fix screen reader classes for Bootstrap 5
2023-01-05 10:35:52 +01:00
Andreas Nedbal
5bbb798102
Fix spacing classes for Bootstrap 5
2023-01-05 10:35:52 +01:00
Andreas Nedbal
175ad4a83b
eager load notification associations for dropdown
2022-12-18 22:01:43 +01:00
Andreas Nedbal
5a0e42fe66
use `has_cached_role?` instead of `has_role?`
2022-12-18 21:47:03 +01:00
Karina Kwiatek
63436d3464
Remove `ios_web_app?` helper
2022-12-04 23:11:59 +01:00
Bandie
0529247851
Keep place of link consistent
2022-11-25 00:10:16 +01:00
Bandie
ecb68eaee4
Make link to "all notifications" accessible even if your monitor is too small for all of your notifications
2022-11-25 00:10:16 +01:00
Andreas Nedbal
cc00fff8cd
Add global anon blocks to moderation sidebar
2022-11-21 20:26:01 +01:00
Andreas Nedbal
6d462cbd1b
Add link to admin dashboard to profile dropdown
2022-11-21 20:26:01 +01:00
Georg Gadinger
caf73558d6
views: rename .haml to .html.haml
2022-10-25 20:10:31 +02:00
Andreas Nedbal
3498bd9072
Use data-turbo-method for mod (un)masking link
2022-10-24 23:34:15 +02:00
Georg Gadinger
87ec3093a9
allow for using SVG logos in the navbar
...
this uses our ✨ new and improved✨ logo by default, but can be easily
changed by modifying `/public/logo.svg`. the svg is loaded only once
when the application starts, so any modifications to it after a
deployment are visible immediately.
thanks to the power of CSS and SVG being able to make use of it, custom
colour schemes still work too.
2022-10-24 23:19:51 +02:00
Karina Kwiatek
29618d399d
Fix profile menu direction on desktop
2022-10-12 00:04:09 +02:00
Andreas Nedbal
42a34bced4
Update logout link to work with Turbo
2022-09-04 18:34:23 +02:00
Andreas Nedbal
922799f123
Adjust route and alias naming
2022-08-21 01:13:10 +02:00
Karina Kwiatek
136eac8bdd
Add page for managing site-wide anonymous-blocks
2022-08-20 19:05:55 +02:00
Karina Kwiatek
ae5d8931af
Implement frontend for blocking users site-wide
2022-08-20 19:03:05 +02:00
Andreas Nedbal
77685d4229
Add new translations for navigation
2022-08-02 19:13:23 +02:00
Karina Kwiatek
55cb43c876
Move "Manage list memberships" user action title
2022-07-30 20:14:02 +02:00
Karina Kwiatek
e887e8c4fc
Refactor action strings
2022-07-30 18:50:46 +02:00
Andreas Nedbal
8a5c7b2b3e
Remove navbar style moderation navigation
2022-07-30 02:55:32 +02:00
Georg Gadinger
66efa5d4f4
clean up routes
...
- replace `match` with `get`/`post`/`patch`/`delete`
- format routes.rb
- rename the `show_user_{profile,question,answer}` routes to
`profile`, `question`, `answer` so `url_for` (used by Rails Admin)
works fine for these things
- also add `to_param` to the `User` model so that `url_for(some_user)`
uses the user name
2022-07-23 12:14:06 +02:00
Karina Kwiatek
e8f20d1fd8
Restore missing modifiers to notifications badge
2022-07-20 21:46:41 +02:00
Andreas Nedbal
7623213f96
Remove priority action views and links
2022-07-19 22:53:50 +02:00
Karina Kwiatek
5bd186bbe2
Deduplicate navigation dropdowns; Restore notification dropdown to mobile
2022-07-18 23:09:53 +02:00
Karina Kwiatek
39d55e52c8
Use `target.class.name` instead of `target.type`
...
This only worked for polymorphic relations
2022-07-09 01:15:31 +02:00
Karina Kwiatek
28240bba27
Properly match notification type
2022-07-09 01:15:31 +02:00
Andreas Nedbal
b551b7acdb
Add translations for notification navigation
2022-07-07 16:51:05 +02:00
Andreas Nedbal
334c30e773
Remove notification navigation bar
2022-07-07 16:51:05 +02:00
Karina Kwiatek
0cfe5ee964
Replace usages of smiles with reaction appendables
2022-07-05 23:23:37 +02:00
Karina Kwiatek
845e8fb3a3
Prevent navigation from appearing in print
2022-07-03 18:54:44 +02:00
Karina Kwiatek
1b09d51443
Add toggle for moderation view
2022-06-26 21:07:28 +02:00
Andreas Nedbal
249de5b1ee
Fix theme color application on guest navbar
2022-04-10 22:01:27 +02:00
Andreas Nedbal
153ba70aea
Sort feedback items alphabetically
2022-01-22 22:50:32 +01:00
Andreas Nedbal
eecaaeab2d
Hide navigation section if Canny is not configured
2022-01-22 22:50:32 +01:00
Andreas Nedbal
2f7d7b2601
Fix HAML codestyle of navigation partials
2022-01-22 22:50:32 +01:00
Andreas Nedbal
3bd43f1cf2
Add feedback links to navigation
2022-01-22 22:50:32 +01:00
Andreas Nedbal
75b93d3535
Use `button_to` helper to generate a proper logout button
2022-01-15 09:25:30 +01:00
Karina Kwiatek
3a8d207b70
Fix ask fab not being visible at tablet size
2021-09-24 00:06:23 +02:00
Karina Kwiatek
d76af263ce
Style and position badges on mobile nav
2021-08-12 21:56:28 +02:00
Karina Kwiatek
ec2332818c
Show mobile nav bar badges as pills
2021-08-12 13:29:50 +02:00
Karina Kwiatek
da70238667
Fix linter errors
2021-08-12 01:18:10 +02:00
Karina Kwiatek
d86bf2bf9d
Use notification_count helper to get notification count for icon badge
2021-08-12 00:37:47 +02:00
Karina Kwiatek
38bd282b38
Make notification icon show notification count badge
2021-08-12 00:37:47 +02:00
Karina Kwiatek
31a8bf6f00
Add mobile user menu
2021-08-12 00:37:47 +02:00
Karina Kwiatek
0886daa62d
Remove icon from brand in desktop navbar
2021-08-12 00:37:47 +02:00
Karina Kwiatek
e213041d47
Add mobile navigation bar
2021-08-12 00:37:47 +02:00