Commit graph

254 commits

Author SHA1 Message Date
Andreas Nedbal
87630c87a6 Fix layout of announcements after Bootstrap 5 update 2023-01-13 19:00:23 +01:00
Andreas Nedbal
a2139213c7 Hide collapse from screenreaders
Co-Authored-By: Georg Gadinger <nilsding@nilsding.org>
2023-01-12 21:03:44 +01:00
Andreas Nedbal
3258ea4f0b Implement shared collapse partial 2023-01-12 21:03:44 +01:00
Andreas Nedbal
53bc270e08
Apply review suggestions from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2023-01-10 20:49:37 +01:00
Andreas Nedbal
eccb51eab0 Add formatting help markup/translations 2023-01-10 15:48:56 +01:00
Georg Gadinger
b728c494d7 remove flag leftovers 2023-01-05 10:37:44 +01:00
Andreas Nedbal
cea1190ab9 Remove and replace usage of media classes 2023-01-05 10:35:52 +01:00
Andreas Nedbal
2efaae6987 Fix modal/alert dismiss toggles 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
5612f8d2bd Fix close buttons 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
61c4033dfa add support for custom footer links 2022-12-24 19:10:05 +01:00
Karina Kwiatek
cb61db02eb
Merge pull request #824 from Retrospring/feature/anonymous-block-tuuuuuuurbo
Migrate anonymous blocks to Turbo Streams
2022-12-04 23:23:19 +01:00
Andreas Nedbal
3b1f15ebb9 Add Stimulus controller for announcements 2022-11-23 21:00:49 +01:00
Andreas Nedbal
b81fbb7fe6 Wire up Turbo Streams action calls in templates 2022-11-21 22:30:15 +01:00
Georg Gadinger
caf73558d6 views: rename .haml to .html.haml 2022-10-25 20:10:31 +02:00
Andreas Nedbal
c5efbee938 Remove sidebar from timeline layout 2022-10-24 23:19:39 +02:00
Andreas Nedbal
3cf985eb11 Use appropriate image sizes and lazy loading in userbox 2022-10-10 23:16:57 +02:00
Andreas Nedbal
ec6f25e16b Use appropriate image sizes and lazy loading in questions 2022-10-10 23:16:44 +02:00
Andreas Nedbal
6ee96446dc Remove legacy pagination 2022-09-08 23:48:01 +02:00
Andreas Nedbal
24be74a5a2 Split and reuse question actions in partial 2022-08-21 15:04:54 +02:00
Karina Kwiatek
136eac8bdd Add page for managing site-wide anonymous-blocks 2022-08-20 19:05:55 +02:00
Andreas Nedbal
2a8711e7db Fix asked header in question and answerbox 2022-08-17 22:18:37 +02:00
Andreas Nedbal
14221aea71 Fix legacy locale references 2022-08-02 19:13:23 +02:00
Andreas Nedbal
416bf19132 Fix HAML codestyle in views 2022-08-02 19:13:23 +02:00
Andreas Nedbal
c9c0a8e296 Add new translations for sidebar 2022-08-02 19:13:23 +02:00
Karina Kwiatek
e887e8c4fc Refactor action strings 2022-07-30 18:50:46 +02:00
Andreas Nedbal
70e95375fb Render questions on user profiles with markdown 2022-07-24 21:55:31 +02:00
Andreas Nedbal
c894551ffc Add Rails Admin link to question partials 2022-07-24 21:44:46 +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
Andreas Nedbal
e06159b465 Fix quote style 2022-04-18 20:15:34 +02:00
Andreas Nedbal
5518014024 Add translations for footer 2022-04-18 20:15:34 +02:00
Andreas Nedbal
7e8ba6c647 Add current version as title to site name in footer 2022-04-16 12:56:18 +02:00
Andreas Nedbal
8d73008ebf Address review suggestions 2022-01-24 20:13:09 +01:00
Andreas Nedbal
aec10cbb9a Hide locale switcher 2022-01-24 20:13:09 +01:00
Andreas Nedbal
3df0196e1f Add questionbox class to questions
...so they get removed from the DOM after deletion
2022-01-04 00:05:11 +01:00
Georg Gadinger
34aeb2350c views: add rel=nofollow to some links 2021-12-31 19:30:18 +01:00
Karina Kwiatek
842f51d745 Replace remaining usages of user.display_name 2021-12-23 22:01:56 +01:00
Karina Kwiatek
df606a768e Update usage of display_name in shared sidebar 2021-12-23 21:49:42 +01:00
Dominik Kwiatek
d7cac67c22 Create print view for recovery codes 2020-11-15 10:20:55 +01:00
Georg Gadinger
ea0685136e Rename Groups to Lists
haha regexp go brrr

special thanks to @seatsea for helping me out with the French locales
2020-05-25 18:04:54 +02:00
Andreas Nedbal
1b555e284d Fix lint violation on announcements partial 2020-05-11 19:40:45 +02:00
Andreas Nedbal
66b2afc976 Turn single-word strings into symbols 2020-05-11 19:40:45 +02:00
Andreas Nedbal
fe70717510 Fix lints in app/views/shared 2020-05-11 19:38:07 +02:00
Andreas Nedbal
6798dcd090 Fix question dropdown using old Bootstrap layout 2020-05-09 05:03:25 +02:00
Andreas Nedbal
c76f839ea7 Fixed announcement JavaScript functionality 2020-05-07 20:36:14 +02:00
Andreas Nedbal
5d63d0ba27 Update announcement styling and adjust announcement views 2020-05-07 19:30:13 +02:00
Andreas Nedbal
12955cc663 Fix design of user and questionboxes 2020-05-07 02:12:44 +02:00
Andreas Nedbal
22ae1f6655 Adjust navigation layout on main feed pages 2020-05-05 04:31:15 +02:00
Andreas Nedbal
85d97b0c71 Rename changed classes across templates 2020-05-02 20:35:48 +02:00