Compare commits
3 Commits
eefdc88a47
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
3bd07472b2
|
|||
|
32b1c2748a
|
|||
|
fc6cac8368
|
@@ -11,7 +11,7 @@ module EjabberdManager
|
|||||||
def call
|
def call
|
||||||
unless @overwrite
|
unless @overwrite
|
||||||
current_avatar = EjabberdManager::GetAvatar.call(user: @user)
|
current_avatar = EjabberdManager::GetAvatar.call(user: @user)
|
||||||
Rails.logger.info { "User #{user.cn} already has an avatar set" }
|
Rails.logger.info { "User #{@user.cn} already has an avatar set" }
|
||||||
return if current_avatar.present?
|
return if current_avatar.present?
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
context: "privacy", key: "body", rich_text: true,
|
context: "privacy", key: "body", rich_text: true,
|
||||||
default: "No content yet. Please add a privacy policy.") %>
|
default: "No content yet. Please add a privacy policy.") %>
|
||||||
|
|
||||||
<% if current_user.is_admin? %>
|
<% if user_signed_in? && current_user.is_admin? %>
|
||||||
<div class="mt-8 pt-6 border-t border-gray-200 text-right">
|
<div class="mt-8 pt-6 border-t border-gray-200 text-right">
|
||||||
<%= render EditContentButtonComponent.new(
|
<%= render EditContentButtonComponent.new(
|
||||||
context: "privacy", key: "body", rich_text: true,
|
context: "privacy", key: "body", rich_text: true,
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
context: "tos", key: "body", rich_text: true,
|
context: "tos", key: "body", rich_text: true,
|
||||||
default: "No content yet. Please add your terms of service.") %>
|
default: "No content yet. Please add your terms of service.") %>
|
||||||
|
|
||||||
<% if current_user.is_admin? %>
|
<% if user_signed_in? && current_user.is_admin? %>
|
||||||
<div class="mt-8 pt-6 border-t border-gray-200 text-right">
|
<div class="mt-8 pt-6 border-t border-gray-200 text-right">
|
||||||
<%= render EditContentButtonComponent.new(
|
<%= render EditContentButtonComponent.new(
|
||||||
context: "tos", key: "body", rich_text: true,
|
context: "tos", key: "body", rich_text: true,
|
||||||
|
|||||||
@@ -37,10 +37,8 @@
|
|||||||
<h3>Compatible Apps</h3>
|
<h3>Compatible Apps</h3>
|
||||||
<p>
|
<p>
|
||||||
Your Storage account is based on a new open standard called
|
Your Storage account is based on a new open standard called
|
||||||
<a href="https://remotestorage.io" target="_blank">
|
<img src="/img/logos/icon_remotestorage.svg" class="h-4 w-4 inline">
|
||||||
<img src="/img/logos/icon_remotestorage.svg" class="h-4 w-4 inline">
|
<strong>remoteStorage</strong>, which is not yet widely supported. Look
|
||||||
<strong>remoteStorage</strong>
|
|
||||||
</a>, which is not yet widely supported. Look
|
|
||||||
for the remoteStorage icon, or check the Sync settings in apps.
|
for the remoteStorage icon, or check the Sync settings in apps.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
Reference in New Issue
Block a user