Commit Graph

18 Commits

Author SHA1 Message Date
Karina Kwiatek c838263a2e Allow for ban history to be seen while banned 2022-07-02 17:08:44 +02:00
Karina Kwiatek 990c67baea Move unban into own view 2022-07-02 17:08:44 +02:00
Karina Kwiatek a0877b102a Create tabs for ban modal 2022-07-02 17:08:44 +02:00
Karina Kwiatek 1f3681ef50 Remove unnecessary value from reason field 2022-07-02 17:08:44 +02:00
Karina Kwiatek 5239f69081 Display duration controls on one line 2022-07-02 17:08:44 +02:00
Karina Kwiatek bb23f6b3f0 Add translations for ban modal 2022-07-02 17:08:44 +02:00
Karina Kwiatek 73274988c1 Add `permanently_banned?` method to user model 2022-06-26 18:32:18 +02:00
Karina Kwiatek 0c6d79ce0b Add `permanent?` method to `UserBan` 2022-06-26 18:32:18 +02:00
Andreas Nedbal 00cd54e082 Port ban functionality to TypeScript 2022-01-08 20:28:52 +01:00
Karina Kwiatek 6500d7ac71 Update usages of bans 2022-01-02 19:50:44 +01:00
Karina Kwiatek ea62d91014 Make ban UI more intuitive when a user is already banned 2022-01-02 19:50:02 +01:00
Karina Kwiatek 9a35584284 Refactor ban-related functionality into use cases 2022-01-02 19:50:01 +01:00
Dominik Kwiatek cddb50cc22 Update dependencies and fix new lint warnings 2020-11-16 18:18:42 +01:00
Andreas Nedbal 66b2afc976 Turn single-word strings into symbols 2020-05-11 19:40:45 +02:00
Andreas Nedbal 7414471d41 Fix lints in app/views/modal 2020-05-11 19:40:43 +02:00
Andreas Nedbal 4ae8b7ed81 Remove timepicker from ban modal 2020-05-09 03:21:25 +02:00
Andreas Nedbal 936969d72a Fix ban dialog functionality 2020-05-09 03:09:12 +02:00
Andreas Nedbal 19e7ed557e Remove .html.haml prefix from modal files 2020-04-25 17:52:24 +02:00
Renamed from app/views/modal/_ban.html.haml (Browse further)