Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into acl-content-groups
- Loading branch information
Showing
22 changed files
with
142 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{% for blk in m.rsc[id].blocks %} | ||
{% include ["blocks/_block_view_",blk.type,".tpl"]|join blk=blk id=id %} | ||
{% optional include ["blocks/_block_view_",blk.type,".tpl"]|join blk=blk id=id %} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,3 +40,6 @@ form.z_form_invalid .alert.z_invalid { | |
display: block; | ||
} | ||
|
||
.form-survey .form-actions { | ||
margin-top: 12px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{% include "_meta.tpl" %} | ||
|
||
{% include "_address.tpl" %} | ||
|
||
{% block subnav %} | ||
{% include "_subnav.tpl" %} | ||
{% endblock %} | ||
|
||
<div class="body"> | ||
{{ id.body }} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{% block seealso %} | ||
{% include "_content_list.tpl" list=id.o.hasfeatured %} | ||
{% include "_content_list.tpl" list=id.o.haspart in_collection=id %} | ||
{% include "_content_list.tpl" list=id.o.relation %} | ||
{% endblock %} | ||
|
||
{% block thumbnails %} | ||
{% include "_page_thumbnails.tpl" %} | ||
{% endblock %} | ||
|
||
{% block sidebar_collection %} | ||
{% with m.rsc.sidebar_collection.id as id %} | ||
{% include "_content_list.tpl" list=id.o.haspart %} | ||
{% endwith %} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,21 @@ | ||
<div class="buttons survey-start"> | ||
<button id="{{ #survey_next }}" class="btn btn-primary">{_ Start _}</button> | ||
{% wire id=#survey_next | ||
{% if id.survey_is_autostart %} | ||
{% wire | ||
postback={survey_start id=id answers=answers} | ||
delegate="mod_survey" | ||
%} | ||
{% else %} | ||
<div class="buttons survey-start"> | ||
<button id="{{ #survey_next }}" class="btn btn-primary">{_ Start _}</button> | ||
{% wire id=#survey_next | ||
postback={survey_start id=id answers=answers} | ||
delegate="mod_survey" | ||
%} | ||
|
||
{% if id.survey_show_results %} | ||
<button id="{{ #survey_result }}" class="btn btn-default">{_ Results _}</button> | ||
{% wire id=#survey_result | ||
action={redirect dispatch="survey_results" id=id} | ||
%} | ||
{% endif %} | ||
</div> | ||
{% if id.survey_show_results %} | ||
<button id="{{ #survey_result }}" class="btn btn-default">{_ Results _}</button> | ||
{% wire id=#survey_result | ||
action={redirect dispatch="survey_results" id=id} | ||
%} | ||
{% endif %} | ||
</div> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters