File tree Expand file tree Collapse file tree
coderedcms_bootstrap4/templates/coderedcms Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11< div class ="embed-responsive embed-responsive-16by9 {{self.settings.custom_css_class}} "
22{% if self.settings.custom_id %}id ="{{self.settings.custom_id}} "{% endif %} >
33 {% if self.place_id %}
4- < iframe class ="embed-responsive-item " width ="100% " style ="border:0 " src ="https://www.google.com/maps/embed/v1/place?q=place_id:{{ self.place_id }}&zoom={{ self.map_zoom_level }}&key={{ settings.coderedcms.GoogleApiSettings .google_maps_api_key}} " title ="{{self.map_title}} " allowfullscreen > </ iframe >
4+ < iframe class ="embed-responsive-item " width ="100% " style ="border:0 " src ="https://www.google.com/maps/embed/v1/place?q=place_id:{{ self.place_id }}&zoom={{ self.map_zoom_level }}&key={{ settings.coderedcms.LayoutSettings .google_maps_api_key}} " title ="{{self.map_title}} " allowfullscreen > </ iframe >
55 {% else %}
66 < iframe class ="embed-responsive-item " width ="100% " style ="border:0 " src ="https://maps.google.com/maps?q={{ self.search|urlencode }}&output=embed " title ="{{self.map_title}} " allowfullscreen > </ iframe >
77 {% endif %}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4747 {# Pass in CMS variables to JavaScript #}
4848 < script >
4949 cr_site_url = "{{site.root_url}}" ;
50- cr_external_new_tab = { { settings . coderedcms . GeneralSettings . external_new_tab | yesno :"true,false" } } ;
50+ cr_external_new_tab = { { settings . coderedcms . LayoutSettings . external_new_tab | yesno :"true,false" } } ;
5151 cr_version = "{% coderedcms_version %}" ;
5252 </ script >
5353
9999
100100 < body class ="coderedcms-{{page.content_type.model}} {% if page.get_parent %}parent-page-{{page.get_parent.id}}{% endif %} {% block body_class %}{% endblock %} " id ="page-{{page.id}} ">
101101
102- {% include "coderedcms/includes/codered_banner .html" %}
102+ {% include "coderedcms/includes/crx_banner .html" %}
103103
104104 {% wagtailuserbar %}
105105
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ <h1>{% trans 'Search for' %} “{{form.s.value}}”</h1>
2222< div class ="container ">
2323 {% block search_form %}
2424 {% if not settings.coderedcms.LayoutSettings.navbar_search %}
25- < form class ="mt-5 " action ="{% url 'codered_search ' %} " method ="GET ">
25+ < form class ="mt-5 " action ="{% url 'crx_search ' %} " method ="GET ">
2626 < div class ="row ">
2727 < div class ="col-sm-9 ">
2828 {% bootstrap_form form size='large' layout='inline' %}
Original file line number Diff line number Diff line change 3131 {% endfor %}
3232 {% endif %}
3333 {% if settings.coderedcms.LayoutSettings.navbar_search %}
34- < form class ="form-inline ml-auto " action ="{% url 'codered_search ' %} " method ="GET ">
34+ < form class ="form-inline ml-auto " action ="{% url 'crx_search ' %} " method ="GET ">
3535 {% load bootstrap4 %}
3636 {% get_searchform request as form %}
3737 {% bootstrap_form form layout='inline' %}
Original file line number Diff line number Diff line change 55
66setup (
77 name = "coderedcms-bootstrap4" ,
8- version = "1.0.0 " ,
8+ version = "1.0.1 " ,
99 author = "CodeRed LLC" ,
1010 author_email = "info@coderedcorp.com" ,
1111 url = "https://github.com/coderedcorp/coderedcms-bootstrap4" ,
You can’t perform that action at this time.
0 commit comments