Sha256: 2df5bb76f67862307ce7503105f3abb3e199f05d525fdfb6276048799bdba934
Contents?: true
Size: 1.69 KB
Versions: 2
Compression:
Stored size: 1.69 KB
Contents
<% =begin Lesli Copyright (c) 2023, Lesli Technologies, S. A. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. Lesli · Ruby on Rails SaaS development platform. Made with ♥ by https://www.lesli.tech Building a better future, one line of code at a time. @contact hello@lesli.tech @website https://www.lesli.tech @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ // · =end %> <%# translation_timestamp = File.mtime(Rails.root.join("public", "javascripts", "translations.js")).to_i %> <%#= javascript_include_tag "i18n", skip_pipeline: true %> <%#= javascript_include_tag "translations?#{translation_timestamp}", skip_pipeline: true %> <%# Set language for JavaScripts apps %> <script> <%# I18n.locale = "<%= I18n.locale % >"; %> </script> <% is_devise = controller_path.split('/')[0] == "users" %> <%# Load specific javascript files for devise actions (login,register,etc) %> <%= javascript_include_tag("lesli/#{controller_path}") if is_devise %> <%# Load standard files %> <%#= javascript_include_tag(application_javascript_path()) unless is_devise %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lesli-5.0.1 | app/views/lesli/partials/_application-public-javascript.html.erb |
lesli-5.0.0 | app/views/lesli/partials/_application-public-javascript.html.erb |