Commit graph

19 commits

Author SHA1 Message Date
Harry Wood
b9659cdfc5 Add kramdown info box with preview button 2022-04-29 01:33:18 +01:00
Andy Allan
8df3010766 Refactor reports form to use bootstrap 2020-08-19 16:58:43 +02:00
Andy Allan
65c3c2a915 Remove list style reset, and add overrides where necessary
This allows the bootstrap list typography to work without being overridden. It also means
that lists look like normal lists by default, instead of needing to be recreated from
scratch each time. Only the cases where padding and discs are unwanted need to have
custom CSS.
2020-01-15 17:16:11 +01:00
Andy Allan
f885cfe0f5 Rename form-row to standard-form-row to avoid clashing with a bootstrap class 2020-01-15 17:16:11 +01:00
Andy Allan
410fe87045 Use a warning alert for reporting new issues
This removes custom colouring for the alert. The list overrides
need to stay until we unpick more of our custom styling.
2019-12-19 17:50:22 +01:00
Tom Hughes
7ce40eeb38 erblint: use consistent spacing in HTML tags 2019-03-28 00:30:48 +00:00
Tom Hughes
3af16f6337 erblint: fix remaining single quoted strings 2019-03-27 16:15:19 +00:00
Andy Allan
040c0184a4 erblint: use hash rocket syntax 2019-03-27 10:03:56 +01:00
Tom Hughes
e5604ce98e Assign vandalism reports for users to moderators 2018-06-17 11:14:19 +01:00
Tom Hughes
0071025400 Avoid using "other" as a translation key 2018-06-16 16:21:07 +01:00
Tom Hughes
5e2c567b7f Make report type a required field 2018-06-10 17:16:33 +01:00
Tom Hughes
2aca6920dc Use lazy lookups for translations in issues 2018-06-10 16:59:58 +01:00
Andy Allan
36970bcf50 Use underscore versions of model names for translation keys. 2018-03-14 12:12:24 +08:00
Andy Allan
8587c2a02b Rework the new report form text and layout 2018-02-28 15:27:01 +08:00
Andy Allan
3bd06529c7 Refactor reportable_url to just return the url
Allows removal of the largely duplicate instance_url helper (which
returned the same urls, but with a hard-coded title).
2018-02-28 13:30:17 +08:00
Andy Allan
2d915b0e24 Avoid submit_tag to avoid 'Save changes' default 2018-02-23 12:30:37 +08:00
Andy Allan
79bd1777ab Fully internationalise the issues and reports interfaces. 2018-01-22 11:57:08 +00:00
Andy Allan
63992d83bd Store the report category. 2017-12-13 16:02:55 +00:00
Andy Allan
d7612f42d0 Refactor creating a new report to use a ReportsController
It's really a report that the user is creating, the issue is created indirectly. Similar
refactoring will be required for issue comments.
2017-09-06 18:06:21 +01:00