Anton Khorev
1c7ead6008
Use translated model names in issue type select
2024-12-05 12:29:13 +03:00
Tom Hughes
9416317e64
Use turbo to update issue search results
2024-08-27 20:21:00 +01:00
nertc
c32f6dd4ff
Add pagination to Issues page
2024-08-26 13:57:44 +04:00
Anton Khorev
6cf9f5dc9c
Simplify link_to user calls on issue pages
2024-03-20 04:38:34 +03:00
Andy Allan
0195dd60a4
Simplify date display by using friendly_date helpers
2023-11-15 19:46:10 +00:00
Andy Allan
dff0c82f17
Avoid using raw html in translations for the issues index
2023-03-29 18:52:45 +01:00
Andy Allan
934d81aa55
Bootstrap 5: Replace all form-group classes with mb-3
2022-07-20 14:42:57 +01:00
Andy Allan
02a6ec60ec
Bootstrap 5: Update manual select boxes to use form-select class
2022-07-20 14:41:55 +01:00
Andy Allan
2080696fe6
Bootstrap 5: Remove use of form-row class
...
This has been replaced by simple `row` class in v5. We can also use the
gx-N classes here, which tighten up the horizontal gutter sizes for
space-constrained forms.
2022-07-20 14:41:41 +01:00
Tom Hughes
e842c7be97
Add missing autocomplete attributes
2021-07-27 19:36:47 +01:00
Tom Hughes
2c5e981684
Fix erblint warnings
2021-06-05 07:40:55 +01:00
Andy Allan
a2c1fe7930
Avoid showing table header when there are no results
2020-08-19 16:58:43 +02:00
Andy Allan
56ed381a7d
Rework issue search form to use Bootstrap form layout
2020-08-19 16:58:43 +02:00
Andy Allan
627f2493fa
Refactor away from global form control styling
...
This enables forms to be converted one-by-one to bootstrap. Without this
refactoring, these global styles interfere with form control styling from
bootstrap.
The rearrangement of the search and directions styling is to solve CSS selector specitivity issues.
2020-07-01 17:23:02 +02:00
Andy Allan
055a976051
Remove custom table styling
...
This removes the custom table styling code, and move to using bootstrap table styling for almost all remaining tables.
2020-04-01 12:29:01 +02:00
Andy Allan
50d469a74a
Use distance_in_words_ago scope for issues display
...
Refs #2255
2019-06-19 18:04:08 +02: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
Andy Allan
84bdc5d048
Whitespace fixes for issues erb files
2019-03-26 20:23:35 +00:00
Andy Allan
4dd4831c0a
Just pass the user object, rather than the display_name, to the user_path helper
2018-09-10 10:54:29 +08:00
Tom Hughes
2aca6920dc
Use lazy lookups for translations in issues
2018-06-10 16:59:58 +01:00
Tom Hughes
e8942437c0
Use select_tag for issue filter fields instead of abusing select
2018-06-10 15:32:27 +01:00
Andy Allan
c71fd544e0
Avoid sending a commit value from from the search button
2018-03-28 11:05:46 +08:00
Andy Allan
918a382cad
Use options_for_select to set the selected items in the search form
2018-03-28 11:05:46 +08:00
Andy Allan
e41751fb32
Use th instead of td and b
2018-03-14 14:56:06 +08:00
Andy Allan
9e46754c88
User user_path to generate links to users
2018-03-14 14:21:43 +08:00
Andy Allan
05b871db99
Avoid wrapping in the reports count column
2018-03-14 13:06:32 +08:00
Andy Allan
aaaeb211de
Combine last_updated_by and last_updated_at columns on issues index
...
Also change to use time as a distance, and link to the user.
2018-03-14 12:51:22 +08:00
Andy Allan
05ae0755a4
Rearrange issues table and combine some columns.
2018-02-28 14:56:47 +08:00
Andy Allan
80a241f798
Allow reporting of anonymous notes
2018-02-28 14:26:40 +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
2a89bf2e6c
Refactor reportable_url helper to focus on just the title choices.
2018-02-28 11:53:43 +08:00
Andy Allan
75e178e6b8
Allow the status to be translated in the table of results
2018-02-28 10:50:27 +08:00
Andy Allan
0366c2eabb
Rework status search to avoid relying on the enum ids, and also to allow translations
2018-02-28 10:44:50 +08:00
Andy Allan
7b5e0d91f3
resolve last_reported_by vs last_updated_by duplication
2018-02-23 10:18:57 +08:00
Andy Allan
79bd1777ab
Fully internationalise the issues and reports interfaces.
2018-01-22 11:57:08 +00:00
Andy Allan
875e588348
Show issues based on all the users roles
...
Previously you were prevented from seeing moderator issues if you
were also an administrator.
2017-12-06 18:56:27 +00:00
Andy Allan
c40ad9de02
Remove the hardcoded pixel width for columns.
2017-12-06 15:26:40 +00:00
Andy Allan
3276063fcf
Remove column sorting
...
It's not tested, not working, and so it can come later in a separate PR.
2017-11-29 17:28:09 +00:00
Andy Allan
7ffec2eb38
Rework the 'issues not found' notice slightly.
...
Previously it would go into a redirect loop if there were no issues
in the database.
2017-09-13 16:12:36 +01:00
Andy Allan
948fd8c8fa
Use reports_count so that counter_cache works automatically.
2017-09-06 17:57:54 +01:00
Andy Allan
99df5f6179
Rename association to reported_user, for clarity
2017-07-12 11:44:05 +01:00
Matt Amos
c3ad6aa292
More whitespace fixes. Attempting to get tests to pass.
2016-08-22 18:38:03 +01:00
Shrey
916f2c9036
Added helper + minor UI changes
...
(cherry picked from commit 3a6550ff54eb08ec282d13ebf85dc3461cca2983)
2016-08-22 16:18:15 +01:00
Shrey
ed84930283
UI changes + Redirection after creating report fixed
...
(cherry picked from commit 987fcf0ba5e7e914dc479e9dc7613400e72148a0)
2016-08-22 16:18:15 +01:00
Shrey
b598979374
Changed report button + Added disclaimer on report page + Added search filter
2016-08-22 16:18:15 +01:00
Shrey
69c1f6d186
Added sortable headers + search + reportable Notes
2016-08-22 16:18:15 +01:00
Shrey
206e1309a9
Added report icon + changes to admin UI + changes to report form + few other minor changes
2016-08-22 16:17:54 +01:00
Shrey
f72c34aaf8
Added Issue Type + Issue Reassigning + Last updated_by
2016-08-22 16:17:54 +01:00