[openstreetmap/openstreetmap-website] Facelift `offline.html` and use Bootstrap classes for "notifications" under the search bar (PR #3907)
Dimitar
notifications at github.com
Wed Jan 25 17:26:22 UTC 2023
@Dimitar5555 commented on this pull request.
> @@ -1,7 +1,9 @@
+<div class="alert alert-danger text-center">
I'm not exactly sure what exactly needs to be done here. Would this work or the changes need to be made somewhere else?
```
<% if Settings.status == "database_offline" %>
<p><%= flash.now[:warning] = t("layouts.osm_offline") %>
</p>
<% else %>
<p><%= flash.now[:warning] = t("layouts.osm_read_only") %>
</p>
<% end %>
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3907#discussion_r1086938237
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/3907/review/1269802515 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230125/800bb904/attachment-0001.htm>
More information about the rails-dev
mailing list