This repository was archived by the owner on Oct 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1414 ->global ('umami_domain ' , env ('UMAMI_DOMAIN ' ))
1515 ->global ('umami_website_id ' , env ('UMAMI_WEBSITE_ID ' ))
1616 ->strictVariables (true )
17- ->global ('appfeatures.hint ' , param ('app.features.hint ' ))
18- ->global ('appfeatures.comment ' , param ('app.features.comment ' ));
17+ ->global ('app_features_hint ' , param ('app.features.hint ' ))
18+ ->global ('app_features_comment ' , param ('app.features.comment ' ));
1919};
Original file line number Diff line number Diff line change 1- <div {{ attributes.defaults ({class : ' app-challenge-comments' , ' aria-hidden' : not appfeatures . comment }) }}>
2- {% if appfeatures . comment %}
1+ <div {{ attributes.defaults ({class : ' app-challenge-comments' , ' aria-hidden' : not app_features_comment }) }}>
2+ {% if app_features_comment %}
33 <div class =" app-challenge-comments__new mb-4" >
44 <twig:Challenge:Comments:CommentForm :question =" question" :commenter =" currentUser" />
55 </div >
Original file line number Diff line number Diff line change 33 {% if question .solutionVideo %}
44 <twig:Challenge:SolutionVideoModal class =" challenge-solution-video-modal" :question =" question" :user =" user" />
55 {% endif %}
6- {% if appfeatures . hint %}
6+ {% if app_features_hint %}
77 <twig:Challenge:Instruction:Modal class =" challenge-instruction-modal" :question =" question" :currentUser =" user" />
88 {% endif %}
99
1515 <twig:Challenge:Executor class =" mt-2" :question =" question" :user =" user" >
1616 <twig:block name =" actions" >
1717 <div class =" btn-group" >
18- {% if appfeatures . hint %}
18+ {% if app_features_hint %}
1919 <button type =" button" class =" btn btn-outline-secondary" data-bs-toggle =" modal" data-bs-target =" .challenge-instruction-modal" >提示</button >
2020 {% endif %}
2121 {% if question .solutionVideo %}
3535 </div >
3636 </section >
3737
38- {% if appfeatures . comment %}
38+ {% if app_features_comment %}
3939 <section class =" app-challenge-primary__comments mt-4" id =" comments" >
4040 <h3 class =" mb-3" >留言區</h3 >
4141 <twig:Challenge:Comments :question =" question" :currentUser =" user" loading =" lazy" />
Original file line number Diff line number Diff line change 2020 name : ' 留言一覽' ,
2121 icon : ' bi bi-chat-left-text-fill' ,
2222 path : path(' app_comments' ),
23- disabled : not appfeatures . comment ,
23+ disabled : not app_features_comment ,
2424 },
2525 {
2626 pageId : ' complementary' ,
You can’t perform that action at this time.
0 commit comments