Alberto
5546f5b125
Merge pull request #2817 from consul/custom-content
...
Custom content
2018-07-31 12:43:21 +02:00
decabeza
71d45093b6
Removes custom content on proposals
2018-07-30 19:35:12 +02:00
decabeza
e14b7b67fb
Removes custom content on footer
2018-07-30 17:59:33 +02:00
decabeza
b43945ad33
Removes custom content on management and devise views
2018-07-30 17:58:13 +02:00
decabeza
f2ec836587
Removes custom content on mailers
2018-07-30 17:57:25 +02:00
decabeza
62343ba49b
Removes custom content on top links
2018-07-30 17:56:23 +02:00
decabeza
52fa9d27ac
Removes custom content on index views pages
2018-07-30 17:55:56 +02:00
decabeza
2543cf5d6c
Removes custom content on help pages
2018-07-30 17:45:19 +02:00
Raimond Garcia
2c79197a05
Merge pull request #2809 from wairbut-m2c/backport/translatable-content-for-admin
...
Basic content for I18n on Admin panel
2018-07-27 18:01:00 +02:00
Ziyan Junaideen
f78d81bc81
ES admin i18n
2018-07-27 20:14:03 +05:30
Alberto
fb19aafee7
Merge pull request #2778 from wairbut-m2c/backport/investments-moderation
...
Allow budget investments to be moderated
2018-07-27 12:34:17 +02:00
rgarcia
2995734762
Increase max cache size to 2MB
...
We have lots of votes in this edition of participatory budgets and the
default cache size (1MB) is not enough to hold certain cache fragments
2018-07-27 12:08:20 +02:00
rgarcia
4c8b174274
Display only translations for the current language
...
After creating a translation in spanish, it was also displaying it when selecting
the english locale.
This was due to the code picking the first translation available
With this commit, we are checking for an existing translation in the current locale
and displaying it if it exists
2018-07-26 21:55:07 -04:00
Angel Perez
8015596cb8
Replace hardcoded update notice when updating translations with proper I18n
2018-07-26 20:49:12 -04:00
Angel Perez
113981c573
Avoid unnecessary DB call on I18nTranslation initializer
2018-07-26 19:09:36 -04:00
Angel Perez
4c2eedf8bd
Add French I18n keys for InformationTexts#index view
2018-07-26 19:08:29 -04:00
Angel Perez
277fb95f1c
Remove unnecessary I18n YAML files
2018-07-26 19:07:53 -04:00
Angel Perez
7255c6cb9b
Fallback to default I18n value if translation is not available
2018-07-26 19:07:47 -04:00
Angel Perez
b8b0f64e64
Rename emails key with mailers key
2018-07-26 19:07:28 -04:00
Angel Perez
ca57a65aae
Add missing I18n keys for InformationTexts#index view
2018-07-26 19:07:22 -04:00
Angel Perez
983dcf0247
Move 'Custom information texts' menu option under 'Site content'
2018-07-26 19:07:04 -04:00
Angel Perez
bc152acaf2
Don't evaluate a conditional and assign a variable on the same line
2018-07-26 19:06:44 -04:00
Angel Perez
26965b43ee
Clean I18n codebase
2018-07-26 19:06:29 -04:00
Raúl Fuentes
6d6dc32c38
Complete basic I18n backend and frontend
2018-07-26 19:06:19 -04:00
Raúl Fuentes
c18479e3ac
Add translations management pages
...
In the admin section of the application, a new page
has been added so that the admins are able to manage
the selected texts for translate.
The texts have been divided in different "sections",
depending on the nature of themselves (budgets, polls,
proposals, management, etc.). Each section has become a tab
with a form associated to edit all the texts for her.
When a language is added, it's added for ALL the texts in the
application. That means that, if an admin adds french for debates,
the french form will appear for the rest of the texts. That doesn't
mean that they need to fill all the texts, only that the languages
work for all of them instead of individually.
2018-07-26 19:05:58 -04:00
Ziyan Junaideen
a37b64dfb6
i18n desc for content block known keys + use in select in form
2018-07-26 22:55:49 +05:30
María Checa
9d580e15f5
Adds activity tab for system emails
2018-07-26 17:55:06 +02:00
María Checa
eb8c021451
Adds button to send pending proposal notifications
2018-07-26 17:55:06 +02:00
Alberto
d17b628426
Merge branch 'master' into backport-2588-fix_supports_filter
2018-07-26 13:44:20 +02:00
Bertocq
eb0919d978
Add Preview Pending action to Admin System Emails
...
Some system emails need to be manually reviewed before being sent. This
new action allows admins to see a preview of all Pending to be sent
Proposal Notification Digest messages.
2018-07-25 20:20:33 +02:00
Bertocq
5c726e0949
Add Admin System Emails view & first system email
...
Admins need to be able to see what a particular System Email looks like
with dummy data.
Also adding the first system email to be managed: the proposal
notification digest.
In case the current admin doesn't have any Notifications from
ProposalNotifications there will be a crash. We'll solve this in later
PR's with a system to "inject" sample text in email templates without
having to generate records in the database.
2018-07-25 20:20:33 +02:00
Bertocq
b9c6da245a
Add System emails menu & list to admin panel
...
We need a section to list all System Emails to view the templates and
preview an example of what would be sent.
2018-07-25 20:19:58 +02:00
Bertocq
3fd97b0a9b
Rename Newsletter & Notification to User Messages
...
We're increasing the features around messaging users, menu name has to
be generic enough.
2018-07-25 20:18:58 +02:00
Alberto
177eedf8e4
Merge pull request #2580 from consul/admin_notifications
...
Admin notifications
2018-07-25 20:05:19 +02:00
Alberto
7b8003dcb9
Merge pull request #2790 from wairbut-m2c/backport-1421-investments_csv_fixes
...
Add visible_to_valuators and author_username to admin investments CSV
2018-07-25 18:41:29 +02:00
Bertocq
a883e842ba
Make admin notifications seed data translatable
2018-07-25 18:35:34 +02:00
Bertocq
812002dd7b
Add admin notification related translations
2018-07-25 18:34:33 +02:00
Bertocq
f695a7faf3
Add AdminNotification management at admin panel
...
In the same fashion Newsletters is managed, with the only difference that
the preview is using the notification partial in the same way the index
of notifications.
2018-07-25 18:33:45 +02:00
María Checa
e9d73eb687
Fix max_per_heading filter in Admin budget investments list
...
Also changed the name of the param to `min_total_supports`, which is more descriptive on what it actually does.
Backport of 75f20d5 and 07f0806 from AyuntamientoMadrid/consul fork
2018-07-25 15:44:51 +02:00
Marko Lovic
601e3058d8
Add visible_to_valuators and author username to admin investments CSV
...
Backport based on 012e4be by María Checa from AyuntamientoMadrid/consul fork
2018-07-25 15:10:56 +02:00
Marko Lovic
5413c34458
Restructure and rename translations
...
Based on 012e4be by María Checa from AyuntamientoMadrid/consul fork
2018-07-25 15:10:09 +02:00
Alberto
61589122ef
Merge pull request #2723 from wairbut-m2c/backport_2400_combine_free_text_search_and_filters
...
Combine text search and filters for Investments on Admin panel
2018-07-25 14:42:19 +02:00
Alberto
c63fd5ada1
Merge pull request #2776 from consul/ui-custom
...
UI custom
2018-07-23 11:39:19 +02:00
Angel Perez
1b37032125
Assume investments moderation I18n keys are used
2018-07-20 18:42:34 -04:00
Angel Perez
c64e93867a
Allow moderators to moderate investments
2018-07-20 18:42:34 -04:00
Angel Perez
4da23716bb
Allow admins to moderate investments
2018-07-20 18:42:34 -04:00
Angel Perez
1990092fdf
Allow moderators to hide inappropriate investments
2018-07-20 18:42:33 -04:00
Angel Perez
4737664f6e
Include routes for investments moderation
2018-07-20 18:03:02 -04:00
decabeza
7533ce21ab
Unifies spanish investment projects i18n
2018-07-20 18:50:19 +02:00
decabeza
e101458891
Removes custom content on seeds
2018-07-20 18:49:54 +02:00