Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorBenjamin Neff <benjamin@coding4coffee.ch>2022-11-04 04:06:47 +0300
committerBenjamin Neff <benjamin@coding4coffee.ch>2022-11-04 04:07:36 +0300
commitb0b2083fea92526b00c55e3e0f095a03b1f140e6 (patch)
tree53f6a28450d0ae84f67634df71393eb05453a21a /app
parent5f6b01e086a012b401f09e19224f3942912289df (diff)
parent3d84ae18a7cae4a47cdbde1ed8051366138d548e (diff)
Merge pull request #8407 from Flaburgan/4821-help-mobile
Tell users that there is no help in mobile version, allow to switch to desktop
Diffstat (limited to 'app')
-rw-r--r--app/views/admins/pods.mobile.haml4
-rw-r--r--app/views/help/faq.mobile.haml6
2 files changed, 9 insertions, 1 deletions
diff --git a/app/views/admins/pods.mobile.haml b/app/views/admins/pods.mobile.haml
index 97a3ceeb7..23a7ea8e4 100644
--- a/app/views/admins/pods.mobile.haml
+++ b/app/views/admins/pods.mobile.haml
@@ -2,4 +2,6 @@
= t(".pod_network")
.alert.alert-warning
- != t(".pod_desktop_view", desktop_link: link_to(t(".pod_desktop_link"), toggle_mobile_path))
+ != t("error_messages.mobile_not_available",
+ desktop_link: link_to(t("error_messages.desktop_view_link"),
+ toggle_mobile_path))
diff --git a/app/views/help/faq.mobile.haml b/app/views/help/faq.mobile.haml
new file mode 100644
index 000000000..6efaff27a
--- /dev/null
+++ b/app/views/help/faq.mobile.haml
@@ -0,0 +1,6 @@
+%h1= t("_help")
+
+.alert.alert-warning
+ != t("error_messages.mobile_not_available",
+ desktop_link: link_to(t("error_messages.desktop_view_link"),
+ toggle_mobile_path))