1day2die 2 лет назад
Родитель
Сommit
8bff4f857b
2 измененных файлов с 4 добавлено и 3 удалено
  1. 1 0
      app/Models/User.php
  2. 3 3
      themes/default/views/admin/settings/tabs/system.blade.php

+ 1 - 0
app/Models/User.php

@@ -302,4 +302,5 @@ class User extends Authenticatable implements MustVerifyEmail
             -> logOnlyDirty()
             -> dontSubmitEmptyLogs();
     }
+
 }

+ 3 - 3
themes/default/views/admin/settings/tabs/system.blade.php

@@ -22,7 +22,7 @@
                                 <label for="show-tos">{{ __('Show Terms of Service') }} </label>
                             </div>
                             <i data-toggle="popover" data-trigger="hover" data-html="true"
-                               data-content="{{ __('Show the TOS link in the footer of every page. <br> Edit the content in "resources/views/information/tos-content.blade.php"') }}"
+                               data-content="{{ __('Show the TOS link in the footer of every page. <br> Edit the content in <b>'.Qirolab\Theme\Theme::path($path = "views").'/information/tos-content.blade.php</b>') }}"
                                class="fas fa-info-circle"></i>
                         </div>
                     </div>
@@ -35,7 +35,7 @@
                                 <label for="show-imprint">{{ __('Show imprint') }} </label>
                             </div>
                             <i data-toggle="popover" data-trigger="hover" data-html="true"
-                                data-content="{{ __('Show the imprint link in the footer of every page. <br> Edit the content in "resources/views/information/imprint-content.blade.php"') }}"
+                                data-content="{{ __('Show the imprint link in the footer of every page. <br> Edit the content in <b>'.Qirolab\Theme\Theme::path($path = "views").'/resources/views/information/imprint-content.blade.php</b>') }}"
                                 class="fas fa-info-circle"></i>
                         </div>
                     </div>
@@ -48,7 +48,7 @@
                                 <label for="show-privacy">{{ __('Show Privacy Policy') }} </label>
                             </div>
                             <i data-toggle="popover" data-trigger="hover" data-html="true"
-                                data-content="{{ __('Show the privacy policy link in the footer of every page. <br> Edit the content in "resources/views/information/privacy-content.blade.php"') }}"
+                                data-content="{{ __('Show the privacy policy link in the footer of every page. <br> Edit the content in <b>'.Qirolab\Theme\Theme::path($path = "views").'/resources/views/information/privacy-content.blade.php</b>') }}"
                                 class="fas fa-info-circle"></i>
                         </div>
                     </div>