Show blocked api response when commenting notes2024-01-07T16:07:14ZAnton Khorevtony29@yandex.ruAnton Khorevtony29@yandex.ru2024-01-07T16:07:14Zhttps://git.openstreetmap.org/rails.git/commitdiff/3ea2c30c58bb23247296fc212fcf7426668248a6
Use friendly_date for note disappear description2023-11-15T19:36:35ZAndy Allangit@gravitystorm.co.ukAndy Allangit@gravitystorm.co.uk2023-11-15T19:36:35Zhttps://git.openstreetmap.org/rails.git/commitdiff/100a7f8979023a2265c9fa58e6bed317b5937670
Use friendly_date for note disappear description
There's no need to reimplement this in its own helper.
Remove unusual margins and line-height from comments2023-09-13T12:18:30ZAndy Allangit@gravitystorm.co.ukAndy Allangit@gravitystorm.co.uk2023-09-13T12:18:30Zhttps://git.openstreetmap.org/rails.git/commitdiff/f3a44431205f23592a17efba753f1087bfcf2cf0
Remove unusual margins and line-height from comments
This allows them to follow normal conventions used elsewhere, as
well as removing some custom css.
Add color keys to note tables2023-08-17T16:20:37ZAnton Khorevtony29@yandex.ruAnton Khorevtony29@yandex.ru2023-08-17T16:20:37Zhttps://git.openstreetmap.org/rails.git/commitdiff/d69ae84963466634cf518a4f1ec38bf914663ed0
Use Bootstrap highlight class in note tables2023-08-10T03:31:38ZAnton Khorevtony29@yandex.ruAnton Khorevtony29@yandex.ru2023-08-10T03:31:38Zhttps://git.openstreetmap.org/rails.git/commitdiff/a4b8a91821b5bf56861a70e31b147bd00207c6f1
Refactor to use submit_tag helper2023-02-01T17:01:32ZAndy Allangit@gravitystorm.co.ukAndy Allangit@gravitystorm.co.uk2023-02-01T17:01:32Zhttps://git.openstreetmap.org/rails.git/commitdiff/c276625e7f35a1f9c31fe95325e150879f0b9a73
Refactor to use submit_tag helper
This is more readable than interpolating into element attributes
Use data attributes to pass alternative button labels2023-02-01T15:30:57ZAndy Allangit@gravitystorm.co.ukAndy Allangit@gravitystorm.co.uk2023-02-01T15:30:57Zhttps://git.openstreetmap.org/rails.git/commitdiff/9bb8dd739a4342441e97254bbf5073f9df022672
Use data attributes to pass alternative button labels
This allows the text to be defined in the html partials, instead
of looking up the i18n via javascript.
Convert remaining heading titles to use h12021-11-11T15:12:18ZAndy Allangit@gravitystorm.co.ukAndy Allangit@gravitystorm.co.uk2021-11-11T15:12:18Zhttps://git.openstreetmap.org/rails.git/commitdiff/75749cc54024ef7b4a06a5415f685331facbb467
Convert remaining heading titles to use h1
This makes them consistent with all the other pages that use h1
in the `content_for :heading` sections
Display no notes message when empty2021-04-09T02:53:53ZHarry Woodgithub@onlineanimals.co.ukHarry Woodgithub@onlineanimals.co.uk2021-04-09T02:53:53Zhttps://git.openstreetmap.org/rails.git/commitdiff/de8ee536b1e6d511f6d943b2e9afabf778979e6b
Display no notes message when empty
Display a 'No notes' message when there are no notes to display, rather than an empty table with pagination features.
Rename the notes#mine action to index2020-07-08T16:43:30ZAndy Allangit@gravitystorm.co.ukAndy Allangit@gravitystorm.co.uk2020-07-08T16:43:30Zhttps://git.openstreetmap.org/rails.git/commitdiff/41d6f19a6bed3b1a53f2fba12ca86ffbac1f8f5a
Use friendly_date_ago for notes display2019-06-19T10:11:47ZAndy Allangit@gravitystorm.co.ukAndy Allangit@gravitystorm.co.uk2019-06-19T10:11:47Zhttps://git.openstreetmap.org/rails.git/commitdiff/220ad927662dcc3e93a7cee337ddc385e19cd386
Use friendly_date_ago for notes display
Refs #2255
Set image dimensions in order to avoid a reflow after the page is drawn by the browser2019-03-27T16:16:49ZAndy Allangit@gravitystorm.co.ukAndy Allangit@gravitystorm.co.uk2019-03-27T16:16:49Zhttps://git.openstreetmap.org/rails.git/commitdiff/22c1be4db7054baf155a6c1c24f31063b5b729df
Set image dimensions in order to avoid a reflow after the page is drawn by the browser