Commit Graph

45 Commits

Author SHA1 Message Date
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
nilsding 59b431513b made privacy_allow_stranger_answers work 2015-01-03 22:37:10 +01:00
nilsding 81becddbd5 added pagination to answers 2015-01-03 19:24:51 +01:00
nilsding f53ca1b449 the new answer is now shown 2015-01-03 19:14:26 +01:00
nilsding 9dc98a3e4e users may not not answer their own question 2015-01-03 19:08:09 +01:00
nilsding 72140be316 moved answer thing to the bottom 2015-01-03 19:02:06 +01:00
Andreas N a259c19ef0 how about some updated design for this 2015-01-03 18:57:30 +01:00
nilsding f4d63ae4e3 users now can answer other people's questions 2015-01-03 18:41:10 +01:00
pixeldesu 98b63b45c6 splitting scss, pluralizing entries, etc 2014-12-09 15:32:29 +01:00
nilsding 7de522a82f added question#show thing and more... 2014-12-07 20:51:44 +01:00