mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 22:52:32 -05:00
android fixes
This commit is contained in:
1 parent
a0ecc8e823
commit
4ecd830587
13 files changed
+44
-23
No files matched your search
@@ -1,11 +1,13 @@
|
||||
<script type="application/json" id="native_path_configuration"><%= render partial: 'layouts/native_path_configuration', formats: :json %></script>
|
||||
<% if signed_in? %>
|
||||
<native-action data-placement="profile" data-icon="user">
|
||||
<%= link_to t('profile'), settings_profile_index_path %>
|
||||
</native-action>
|
||||
<native-action data-placement="profile" data-icon="settings">
|
||||
<%= link_to t('settings'), settings_path %>
|
||||
</native-action>
|
||||
<% unless turbo_native_android? %>
|
||||
<native-action data-placement="profile" data-icon="user">
|
||||
<%= link_to t('profile'), settings_profile_index_path %>
|
||||
</native-action>
|
||||
<native-action data-placement="profile" data-icon="settings">
|
||||
<%= link_to t('settings'), settings_path %>
|
||||
</native-action>
|
||||
<% end %>
|
||||
<% if current_account.testing? && (can?(:manage, EncryptedConfig) || current_user != true_user) %>
|
||||
<native-action data-placement="test_mode" data-icon="code" data-label="<%= t('exit_test_mode') %>">
|
||||
<%= button_to '', testing_account_path, method: :delete, form: { data: { turbo_action: 'replace' } } %>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<% content_for(:native_modal, 'true') %>
|
||||
<% content_for(:native_title, local_assigns[:title]) if local_assigns[:title] %>
|
||||
<turbo-frame id="modal">
|
||||
<native-modal class="block max-w-lg mx-auto pb-6" data-close-after-submit="<%= local_assigns.key?(:close_after_submit) ? local_assigns[:close_after_submit] : true %>">
|
||||
<native-modal class="block max-w-lg mx-auto <%= turbo_native_android? ? 'pb-4' : 'pb-6' %>" data-close-after-submit="<%= local_assigns.key?(:close_after_submit) ? local_assigns[:close_after_submit] : true %>">
|
||||
<%= yield %>
|
||||
</native-modal>
|
||||
</turbo-frame>
|
||||
|
||||
Reference in new issue
Block a user