Commit Graph

10 Commits (ec4c49082edb5f4941bd4e129900628c6b30101e)

Author SHA1 Message Date
Matt Jankowski 4c84891453
Pull out full `li` element into admin/status_edits/status_edit partial (#29499) 10 months ago
Matt Jankowski 13c3e59601
Use helper method to build batched status edits in `admin/statuses/show` (#27739) 1 year ago
Matt Jankowski bbad5b6456
Remove false positive cop detection (#27457) 1 year ago
Matt Jankowski e715da6d25
Fix haml-lint Rubocop `Rails/*` cops (#26042) 1 year ago
Matt Jankowski 9974163776
Consolidate inclusion of `admin` js pack link (#26628) 1 year ago
Claire f94aa70b81
Fix error when displaying post history of a trendable post in the admin interface (#23574) 2 years ago
Eugen Rochko f8ca3bb2a1
Add ability to view previous edits of a status in admin UI (#19462)
* Add ability to view previous edits of a status in admin UI

* Change moderator access to posts to be controlled by a separate policy
2 years ago
Eugen Rochko 14f436c457
Add notifications for statuses deleted by moderators (#17204) 3 years ago
ThibG b8ba977497
Fix admin-facing uses of inline CSS (#13575)
* Move .back-button inline styles to CSS file

All occurrences of the back-button CSS class used the same inline
CSS rules, so moved them over to the CSS file

* Fix “Add new domain block” button using inline CSS

* Replace common pattern of inline-styled button boxes by a CSS class

In particular, switching from `float: left/right` to a flexbox with
`justify-content: space-between`. This implied changing the order of
a few HTML tags and adding an empty `div` in one case.

Also removed a `margin-bottom` rule that wasn't needed due to the
margins of surrounding elements.

* Move account admin view inline CSS to CSS file
5 years ago
ThibG 6f9a7bd02c Add quick links to the admin interface in the WebUI (#8545)
* Allow to show a specific status in the admin interface

* Let the front-end know the current account is a moderator

* Add admin links to status and account menus

If the current logged-in user is an admin, add quick links to the admin
interface in account and toot dropdown menu. Suggestion by @ashkitten

* Use @statuses.first instead of @statuses[0]
6 years ago