Javi Martín
6fa67b5e53
Use active record translations for labels
...
This way we can simplify the way we generate form fields. In some cases,
we also use the human attribute in table headers, which IMHO makes
sense.
I haven't moved all of them: for example, sometimes a label is
different depending on whether it's shown to administrators, valuators,
or users. And I haven't touched the ones related to devise, since I
wasn't sure about possible side effects.
Note I've also removed placeholders when they had the same text as their
labels, since they weren't helpful. On the contrary, the added redundant
text to the form, potentially distracting users.
2019-10-07 01:56:23 +02:00
Javi Martín
1bc66925ab
Remove redundant labels
...
We already had translations for these attributes.
2019-10-07 01:55:56 +02:00
Javi Martín
4a19bb6b77
Simplify generating fields with hints
...
We were already using this code in translatable forms. Using it on every
form means we can reduce the code we need to generate a field with a
hint.
2019-10-06 18:03:38 +02:00
Javi Martín
3ea9f3cecf
Simplify generating form fields with labels
...
Instead of generating the label and then a field without a label, we can
directly generate a field with a label.
2019-10-05 16:01:58 +02:00
Javi Martín
f9ed186909
Add rubocop spacing rules
...
We were following these rules in most places; we just didn't define them
anywhere.
2019-09-10 21:04:56 +02:00
Javi Martín
cf9e36c767
Replace single quotes with double quotes
...
Most of these quotes were in the dashboard branch before we added the
rule for double quotes.
2019-09-10 19:21:03 +02:00
Javi Martín
648cdf1440
Fix CKEditor height in dashboard actions form
...
Not wrapping the editor in a `.ckeditor` div made it change height when
the editor was loaded. That caused a weird effect for users, and also
made some tests fail sometimes since the position of the "Add new
document" link might change right when capybara is clicking it.
2019-08-08 16:35:20 +02:00
decabeza
47985df4f3
Fix request_to_administrators checkbox on admin dashboard actions
2019-04-29 15:46:38 +02:00
decabeza
0a40c747a3
Add default actions list on admin dashboard actions index
2019-04-24 14:05:05 +02:00
decabeza
07fd5084f7
Show request to admins and short description only for resources
2019-04-24 14:01:04 +02:00
decabeza
19c158f4eb
Add pending and done filters to dashboard administrator tasks
2019-04-24 13:58:27 +02:00
decabeza
1c705cfc63
Fix admin dashboard actions form layout
2019-04-24 13:57:22 +02:00
decabeza
21e6e8097f
Update i18n texts
2019-04-24 13:56:49 +02:00
decabeza
eda6ea7f12
Merge branch 'master' into dashboard
2019-03-26 16:45:48 +01:00
decabeza
500217ca48
Prevent break buttons layout on admin dashboard actions
2019-03-19 17:11:15 +01:00
decabeza
93450dee57
Remove unnecessary css class
2019-03-19 17:10:41 +01:00
Alberto
501f6257bf
Merge pull request #3260 from Platoniq/dashboard-actions-for-published-proposals
...
Dashboard actions for published proposals
2019-03-19 16:20:47 +01:00
Julian Herrero
0bb2633c7a
Use double quotes in app/views/admin
2019-03-19 12:16:50 +01:00
Raimond Garcia
117b7c848d
Merge pull request #3257 from Platoniq/dashboard-actions-attachments
...
Dashboard actions attachments
2019-02-28 13:33:38 +01:00
taitus
082cc41a1e
Allow admin set published_proposal field
2019-02-02 17:45:55 +01:00
taitus
931bf18562
Adds styles (direct-uploads) to admin dashboard actions form
2019-02-02 15:30:35 +01:00
taitus
959fe67bf9
Bug fixes: Wrong html.
...
Add form into <td>
2019-02-02 14:05:34 +01:00
decabeza
546105d989
Merge branch 'master' into dashboard-master
2018-10-19 01:48:37 +02:00
decabeza
670eb52d6f
Improves styles for admin dashboard administrator tasks views
2018-10-11 17:47:15 +02:00
decabeza
83634c992a
Improves styles for admin dashboard actions views
2018-10-11 17:45:37 +02:00
decabeza
076f9dd474
Moves back link to root path from dashboard to header
2018-07-31 12:47:51 +02:00
Juan Salvador Pérez García
e5f9cf6710
Fixed #239
...
Proposals dashboard refactored to dashboard.
Added missing specs for the dashboard.
2018-07-24 15:52:43 +02:00
decabeza
80e24d6c13
changes h2 titles upcase to prevent broke specs
2017-09-21 00:58:39 +02:00
decabeza
3e2c639137
moves stats and setting links to header into a partial
2017-09-20 01:38:32 +02:00
decabeza
8ed791e860
includes description text on admin dashboard index
2017-09-20 01:38:32 +02:00
decabeza
28a6583199
removes untranslated texts on admin dashboard index
2017-09-20 01:38:32 +02:00
Alberto Garcia Cabeza
7056487f3d
improves styles for admin menu
2016-11-30 18:46:35 +01:00
Juanjo Bazán
7f01dbdca2
makes sure setting helper is used in views
2016-07-08 14:42:28 +02:00
Alberto Garcia Cabeza
00fd9da0f9
Improves admin dashboard
2016-05-31 17:25:30 +02:00
Alberto Garcia Cabeza
56bb06b168
Improves general layout for admin
2016-05-31 17:10:08 +02:00
Alberto Garcia Cabeza
8dd027d974
Updates admin and moderation texts
2015-09-25 09:40:51 +02:00
Alberto Garcia Cabeza
da0c937983
Adds new texts for admin and moderation pages
2015-08-31 21:49:36 +02:00
Alberto Garcia Cabeza
0c2901c3fb
Adds styles for admin
2015-08-17 21:30:22 +02:00
kikito
8d83607331
Implements dashboard controllers & views for admin & moderation
2015-08-07 17:20:28 +02:00