Commit graph

59 commits

Author SHA1 Message Date
Andreas Nedbal
d4c2ca5e5e Don't set the collapse controller for entries that aren't long 2023-01-21 04:43:48 +01:00
Andreas Nedbal
a3b902b747 Add collapse to answerboxes and questions 2023-01-12 21:03:44 +01:00
Andreas Nedbal
cea1190ab9 Remove and replace usage of media classes 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
Georg Gadinger
caf73558d6 views: rename .haml to .html.haml 2022-10-25 20:10:31 +02:00
Andreas Nedbal
ec6f25e16b Use appropriate image sizes and lazy loading in questions 2022-10-10 23:16:44 +02:00
Andreas Nedbal
fe922d7aa2 Fix identation 2022-09-08 23:35:41 +02:00
Andreas Nedbal
6ae03dbd7f Refactor questions to use a Turbo Stream-backed pagination 2022-09-08 23:35:41 +02:00
Andreas Nedbal
24be74a5a2 Split and reuse question actions in partial 2022-08-21 15:04:54 +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
77abb202d7 Add new translation for questionbox title 2022-08-02 19:13:23 +02:00
Karina Kwiatek
e887e8c4fc Refactor action strings 2022-07-30 18:50:46 +02:00
Karina Kwiatek
328746f7be Fix missing "Post to …" translation on question page 2022-07-28 23:54:03 +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
Karina Kwiatek
597f8b74cb Fix everyone showing up as anonymous outside of moderation view 2022-06-27 00:41:26 +02:00
Karina Kwiatek
e64f206f5b Replace anonymous_identifier with author_identifier 2022-06-26 21:07:28 +02:00
Karina Kwiatek
ddd7cfd81d Pass author_identifier in question/question partial 2022-06-26 21:07:28 +02:00
Karina Kwiatek
e5b8ea017c Show anon identifier in tooltip when unmasking 2022-06-26 21:07:28 +02:00
Andreas Nedbal
d5e317d3fe Fix missing translation on question view 2022-04-26 08:20:54 +02:00
Andreas Nedbal
a4041e5da6 Remove another paragraph where questions are rendered 2022-01-01 02:04:49 +01:00
Andreas Nedbal
67ee589b5b Add question markup renderer 2021-12-31 22:40:38 +01:00
Dominik M. Kwiatek
abf78d4f49 Don't center content on Desktop
Suggestions from @pixeldesu's review

Co-authored-by: Andreas Nedbal <andy@pixelde.su>
2020-05-29 23:05:38 +02:00
Dominik M. Kwiatek
ee947f2428 Make the "Load more" button center-aligned and give it "button" styling
Fixes #107
2020-05-29 23:05:38 +02:00
Andreas Nedbal
66b2afc976 Turn single-word strings into symbols 2020-05-11 19:40:45 +02:00
Andreas Nedbal
7f17a2995e Fix lints in app/views/question 2020-05-11 19:38:07 +02:00
Andreas Nedbal
0db1de9552 Fix question page dropdowns using old Bootstrap layout 2020-05-09 05:39:01 +02:00
Andreas Nedbal
adf5968ad0 Fix some layout issues on question pages 2020-05-09 04:10:40 +02:00
Georg Gadinger
ae8e0b651a Fix Question#show view when user is nil 2020-05-09 02:43:43 +02:00
Andreas Nedbal
85d97b0c71 Rename changed classes across templates 2020-05-02 20:35:48 +02:00
Andreas Nedbal
d61fa91f0d Refactor question styles
- Created styles in component/question
- Removed old styles from scss/panel
- Moved question partial to question controller resource, as it is only used there, not shared
2020-04-30 00:44:43 +02:00
Andreas Nedbal
7513ef2b9e Clean up answerbox layout 2020-04-26 17:13:31 +02:00
Andreas Nedbal
7767eeae9f Merge branch 'master' into feature/bootstrap 2020-04-25 13:14:01 +02:00
Georg Gadinger
101b3b68d3 Use cursored pagination, remove WillPaginate 2020-04-20 23:13:24 +02:00
Andreas Nedbal
b5a833e917 Remove superfluous card-default class 2020-04-19 23:31:24 +02:00
Andreas Nedbal
33cd5b57a3 Convert panel classes to card classes 2020-04-19 23:11:14 +02:00
pixeldesu
d28f64adf1 localize placeholders 2015-06-08 20:48:23 +02:00
Yuki
2e1cb4d273 Made titles functional, because functional programming is the future 2015-05-14 03:32:19 +05:30
Yuki
0ba88942de Fix question headers overflowing into the answers 2015-05-13 00:18:06 +05:30
pixeldesu
d08692340c add pagetitles 2015-05-10 19:48:47 +02:00
pixeldesu
bd3564d6f3 center question on question page 2015-04-27 19:36:02 +02:00
Yuki
76ac8e1a9d Fix Retrospring/bugs#36 2015-04-27 06:51:29 +05:30
pixeldesu
13d67b51f0 redirect to root instead of users question site 2015-04-26 13:19:04 +02:00
pixeldesu
aac84c623f fix invisible border on question panel 2015-04-26 13:15:03 +02:00
Yuki
ee29e1f28f Reporting and Deleting logic 2015-04-26 07:06:25 +05:30
pixeldesu
e2f06167dc fix styling and schema 2015-04-26 02:46:37 +02:00
pixeldesu
c8ba89dd1e change question display and add report placeholder 2015-04-26 02:18:57 +02:00
Andreas N
66cc15971e more date tooltips 2015-02-20 00:40:41 +01:00