Commit graph

3330 commits

Author SHA1 Message Date
Andy Allan
847536c80d Avoid some uses of html_safe
We can use `html_safe` on non-interpolated strings, since that's trusted content.
2020-10-28 14:45:20 +01:00
translatewiki.net
c1de6a5f91 Localisation updates from https://translatewiki.net. 2020-10-26 16:06:52 +01:00
translatewiki.net
0084ed303a Localisation updates from https://translatewiki.net. 2020-10-22 13:08:56 +02:00
Tom Hughes
e9ad6d852c Merge remote-tracking branch 'upstream/pull/2901' 2020-10-21 20:51:03 +01:00
Andy Allan
c233bec67b Use flexbox to position the close icon on the sidebars
This ensures that the text and the close icon don't overlap, regardless
of the length of the title. The title div grows to use all available
space, while ensuring the text breaks if necessary to prevent it from
pushing the close icon offscreen.
2020-10-21 17:11:28 +02:00
Tom Hughes
843635e1b3 Merge remote-tracking branch 'upstream/pull/2899' 2020-10-21 15:12:05 +01:00
Andy Allan
2559226be3 Avoid various uses of html_safe
We can avoid using `html_safe` in various circumstances, through alternative approaches like i18n keys ending in `_html` or using `safe_join` to avoid converting via unsafe string types.

The `_html` keys approach only work for ActionView helper version of `t`, not the base `I18n.t` method.
2020-10-21 15:43:14 +02:00
Andy Allan
790ffed9b8 Remove unused translation
The code that used this was removed in 9a9e13af90
2020-10-21 15:38:53 +02:00
Andy Allan
465926ebeb Remove unused translations
The code that used these translations was removed in aaeca5b534
2020-10-21 15:37:57 +02:00
translatewiki.net
b39251810b Localisation updates from https://translatewiki.net. 2020-10-19 15:01:22 +02:00
Andy Allan
2c1033f62d Rename Notifier to UserMailer
It's a convention in rails to name your mailers with a Mailer suffix, and is also common to name the class after the recipient (e.g. User, Admin). So UserMailer seems a reasonable choice.
2020-10-14 15:04:58 +02:00
translatewiki.net
c64e819edc Localisation updates from https://translatewiki.net. 2020-10-12 15:58:23 +02:00
translatewiki.net
88c6b41e29 Localisation updates from https://translatewiki.net. 2020-10-08 16:01:10 +02:00
translatewiki.net
0b421c9314 Localisation updates from https://translatewiki.net. 2020-10-05 16:05:15 +02:00
translatewiki.net
de917273d1 Localisation updates from https://translatewiki.net. 2020-10-02 09:14:03 +02:00
translatewiki.net
cd6bc0d873 Localisation updates from https://translatewiki.net. 2020-09-28 17:23:19 +02:00
translatewiki.net
574bfa06db Localisation updates from https://translatewiki.net. 2020-09-24 16:02:43 +02:00
translatewiki.net
205d537ea2 Localisation updates from https://translatewiki.net. 2020-09-21 16:10:19 +02:00
translatewiki.net
da193a91d4 Localisation updates from https://translatewiki.net. 2020-09-17 16:47:48 +02:00
Andy Allan
b4b59df75e Show linked features as collapsable detail panels on feature browse pages
Fixes #2823

The panels are collapsed by default, when there is a long list of features, but
open on short lists to save on clicks. 10 items is arbitrary but seemed reasonable.
2020-09-16 15:28:03 +02:00
Andy Allan
f70ec18989
Merge pull request #2809 from tomhughes/bootstrap
Convert some more forms to use bootstrap
2020-09-16 10:43:21 +02:00
Tom Hughes
70c4a750d7 Fix new rubocop warnings 2020-09-16 08:28:25 +01:00
translatewiki.net
0aab333adb Localisation updates from https://translatewiki.net. 2020-09-14 17:09:30 +02:00
translatewiki.net
f83f44f1a6 Localisation updates from https://translatewiki.net. 2020-09-10 18:46:11 +02:00
translatewiki.net
1aa0721982 Localisation updates from https://translatewiki.net. 2020-09-07 16:49:57 +02:00
Tom Hughes
21adea321b Convert password reset forms to use bootstrap 2020-09-04 00:36:43 +01:00
translatewiki.net
d44d9c3a43 Localisation updates from https://translatewiki.net. 2020-09-03 16:48:11 +02:00
translatewiki.net
8ae1304fd9 Localisation updates from https://translatewiki.net. 2020-08-31 16:16:14 +02:00
translatewiki.net
e2892ecae7 Localisation updates from https://translatewiki.net. 2020-08-27 15:56:58 +02:00
translatewiki.net
42719ae261 Localisation updates from https://translatewiki.net. 2020-08-24 15:31:01 +02:00
translatewiki.net
584fe56fc8 Localisation updates from https://translatewiki.net. 2020-08-21 17:28:58 +02:00
Tom Hughes
6855616870 Allow CDN URL for the embed page to be configured 2020-08-19 21:44:24 +01:00
Tom Hughes
c597ead529 Merge remote-tracking branch 'upstream/pull/2783' 2020-08-19 17:39:18 +01:00
Tom Hughes
5c551d475f Merge remote-tracking branch 'upstream/pull/2782' 2020-08-19 17:31:56 +01:00
Andy Allan
adfb4dc619 Refactor client application pages to use bootstrap forms
Also rework the client application show page to be responsive
2020-08-19 16:58:43 +02:00
Andy Allan
8df3010766 Refactor reports form to use bootstrap 2020-08-19 16:58:43 +02:00
Andy Allan
613b748c55 Avoid lego translations for coordinates
Use the i18n system for joining coordinate values together, while
avoiding making any changes or standardisation involving the exact
symbol used in each situation.

Refs #2732
2020-08-19 16:43:16 +02:00
translatewiki.net
afd051116d Localisation updates from https://translatewiki.net. 2020-08-17 19:25:42 +02:00
Simon Poole
04c374c329 Block Canton Glarus imagery too 2020-08-17 14:08:37 +02:00
Tom Hughes
82ca99eea5 Merge remote-tracking branch 'upstream/pull/2777' 2020-08-16 11:12:54 +01:00
Simon Poole
a0b73b9a6b Black list 2010 and 2016 imagery for the Canton Schaffhauen 2020-08-16 11:20:09 +02:00
Sarah Hoffmann
987977363b Update Nominatim description terms 2020-08-15 17:44:38 +02:00
translatewiki.net
337f08cead Localisation updates from https://translatewiki.net. 2020-08-13 19:23:19 +02:00
Tom Hughes
2651db7254 Fix Lint/MissingSuper warnings 2020-08-09 19:06:04 +01:00
translatewiki.net
c560b3ac69 Localisation updates from https://translatewiki.net. 2020-08-07 09:47:59 +02:00
Tom Hughes
549eb62586 Fix eslint warnings 2020-08-06 22:43:16 +01:00
Tom Hughes
0e2a66e8de Fix new rubocop warnings 2020-08-06 18:42:16 +01:00
Tom Hughes
c24c2e481c Merge remote-tracking branch 'upstream/pull/2667' 2020-08-05 21:50:08 +01:00
Tom Hughes
9aed420d20 Merge remote-tracking branch 'upstream/pull/2752' 2020-08-05 19:14:54 +01:00
translatewiki.net
ea9f784350 Localisation updates from https://translatewiki.net. 2020-08-03 19:48:17 +02:00