';
@@ -2653,15 +2653,24 @@ class Vprasanje {
// Hitro dodajanje kategorij
echo '
';
- echo '
';
- echo '
';
+ echo ' ';
+
- if ( in_array($row['tip'], array(6, 16, 19, 20)) )
- echo $lang['srv_question_fastadd'].' '.Help::display('srv_question_fastadd');
- else
- echo $lang['srv_vrednost_fastadd'].' '.Help::display('srv_vrednost_fastadd');
+ if ( in_array($row['tip'], array(6, 16, 19, 20)) ){
+ echo ' ';
+ echo $lang['srv_question_fastadd'].' ';
+ echo '';
+
+ echo Help::display('srv_question_fastadd');
+ }
+ else{
+ echo ' ';
+ echo $lang['srv_vrednost_fastadd'].' ';
+ echo '';
+
+ echo Help::display('srv_vrednost_fastadd');
+ }
- echo ' ';
echo '
';
echo '';
diff --git a/lang/1.php b/lang/1.php
index 9453e717e..feac18a9d 100644
--- a/lang/1.php
+++ b/lang/1.php
@@ -2190,11 +2190,14 @@ $lang = array (
"srv_podif_edit" => "Uredi pogoj za prikaz kategorije",
"srv_block_new" => "Dodaj blok",
"srv_if_rem" => "Odstrani pogoj",
- "srv_if_rem_all" => "Izbriši pogoj in celotno vsebino",
+ "srv_if_rem_only" => "Odstrani pogoj (obdrži vsebino)",
+ "srv_if_rem_all" => "Odstrani pogoj in celotno vsebino",
"srv_block_rem" => "Odstrani blok",
+ "srv_block_rem_only" => "Odstrani blok (obdrži vsebino)",
+ "srv_block_rem_all" => "Odstrani blok in celotno vsebino",
"srv_loop_rem" => "Odstrani zanko",
- "srv_block_rem_all" => "Izbriši blok in celotno vsebino",
- "srv_loop_rem_all" => "Izbriši zanko in celotno vsebino",
+ "srv_loop_rem_only" => "Odstrani zanko (obdrži vsebino)",
+ "srv_loop_rem_all" => "Odstrani zanko in celotno vsebino",
"srv_if_edit" => "Uredi pogoj",
"srv_block_edit" => "Uredi blok",
"srv_loop_edit" => "Uredi zanko",
diff --git a/lang/2.php b/lang/2.php
index 49ba0f611..8461973ab 100644
--- a/lang/2.php
+++ b/lang/2.php
@@ -2177,10 +2177,13 @@ $lang = array (
"srv_podif_edit" => "Edit conditions *IF for category display",
"srv_block_new" => "Add block",
"srv_if_rem" => "Remove condition",
+ "srv_if_rem_only" => "Remove condition (keep content)",
"srv_if_rem_all" => "Remove condition and all its content",
"srv_block_rem" => "Remove block",
- "srv_loop_rem" => "Remove loop",
+ "srv_block_rem_only" => "Remove block (keep content)",
"srv_block_rem_all" => "Remove block and all its content",
+ "srv_loop_rem" => "Remove loop",
+ "srv_loop_rem_only" => "Remove loop (keep content)",
"srv_loop_rem_all" => "Remove loop and all its content",
"srv_if_edit" => "Edit if",
"srv_block_edit" => "Edit block",
diff --git a/public/css/admin_new.css b/public/css/admin_new.css
index 4109375e6..f0bc4d83f 100644
--- a/public/css/admin_new.css
+++ b/public/css/admin_new.css
@@ -5466,13 +5466,11 @@ span.faicon.export::before {
content: "";
}
-/*span.faicon.import::before{
- font-size: 24px;
- content: "\f56f";
-}*/
-/*span.faicon.import{
- width: 32px;
-}*/
+span.faicon.file-import::before {
+ content: "";
+ transform: scaleX(-1);
+}
+
span.faicon.import::before {
font-size: 24px;
font-weight: 400;
@@ -13863,6 +13861,25 @@ div#variabla_new span.correct {
#vprasanje_float_editing .vprasanje_edit_holder .vprasanje_setting_holder .vprasanje_setting_line.half-half .content textarea {
width: 100%;
}
+#vprasanje_float_editing .vprasanje_edit_holder .vprasanje_setting_holder .vprasanje_setting_line.with-icon span {
+ display: flex;
+ align-items: center;
+ cursor: pointer;
+ color: #1E88E5;
+}
+#vprasanje_float_editing .vprasanje_edit_holder .vprasanje_setting_holder .vprasanje_setting_line.with-icon span:hover {
+ color: #0059ab;
+}
+#vprasanje_float_editing .vprasanje_edit_holder .vprasanje_setting_holder .vprasanje_setting_line.with-icon span:hover .faicon::before {
+ color: #0059ab;
+}
+#vprasanje_float_editing .vprasanje_edit_holder .vprasanje_setting_holder .vprasanje_setting_line.with-icon .faicon {
+ margin-right: 8px;
+}
+#vprasanje_float_editing .vprasanje_edit_holder .vprasanje_setting_holder .vprasanje_setting_line.with-icon .faicon:before {
+ color: #1E88E5;
+ font-size: 18px;
+}
#vprasanje_float_editing .vprasanje_edit_holder p,
#vprasanje_float_editing .vprasanje_edit_holder span,
#vprasanje_float_editing .vprasanje_edit_holder label {
@@ -18186,6 +18203,25 @@ and open the template in the editor.
#branching #div_condition_editing_float .condition_edit .condition_setting_holder .condition_setting_line.half-half .content textarea {
width: 100%;
}
+#branching #div_condition_editing_float .condition_edit .condition_setting_holder .condition_setting_line.with-icon span {
+ display: flex;
+ align-items: center;
+ cursor: pointer;
+ color: #1E88E5;
+}
+#branching #div_condition_editing_float .condition_edit .condition_setting_holder .condition_setting_line.with-icon span:hover {
+ color: #0059ab;
+}
+#branching #div_condition_editing_float .condition_edit .condition_setting_holder .condition_setting_line.with-icon span:hover .faicon::before {
+ color: #0059ab;
+}
+#branching #div_condition_editing_float .condition_edit .condition_setting_holder .condition_setting_line.with-icon .faicon {
+ margin-right: 8px;
+}
+#branching #div_condition_editing_float .condition_edit .condition_setting_holder .condition_setting_line.with-icon .faicon:before {
+ color: #1E88E5;
+ font-size: 18px;
+}
#branching #div_condition_editing_float .condition_edit p,
#branching #div_condition_editing_float .condition_edit span,
#branching #div_condition_editing_float .condition_edit label {
@@ -18239,6 +18275,33 @@ and open the template in the editor.
#branching #div_condition_editing_float .button_holder button:last-of-type {
margin-bottom: 0;
}
+#branching #div_condition_editing_float .remove_condition_holder {
+ margin: 0 16px;
+ padding: 16px 0;
+ border-top: 1px #D3D3D3 solid;
+}
+#branching #div_condition_editing_float .remove_condition_holder div {
+ cursor: pointer;
+ margin-bottom: 16px;
+ color: #1E88E5;
+ font-size: 14px;
+ transition: 0.2s;
+}
+#branching #div_condition_editing_float .remove_condition_holder div .faicon {
+ margin-right: 8px;
+}
+#branching #div_condition_editing_float .remove_condition_holder div .faicon:before {
+ font-size: 14px;
+}
+#branching #div_condition_editing_float .remove_condition_holder div:last-child {
+ margin-bottom: 0;
+}
+#branching #div_condition_editing_float .remove_condition_holder div:hover {
+ color: #0059ab;
+}
+#branching #div_condition_editing_float .remove_condition_holder div:hover .faicon:before {
+ color: #0059ab;
+}
#branching span.IF_title_start {
font-weight: 900;
color: #1E88E5;
diff --git a/resources/sass/admin_new/basic/icons/standard.scss b/resources/sass/admin_new/basic/icons/standard.scss
index ca5c6658f..b95faf8e7 100644
--- a/resources/sass/admin_new/basic/icons/standard.scss
+++ b/resources/sass/admin_new/basic/icons/standard.scss
@@ -78,16 +78,11 @@ span.faicon.export::before{
content: "\f56e";
}
+span.faicon.file-import::before{
+ content: "\f56f";
+ transform: scaleX(-1);
+}
-
-/*span.faicon.import::before{
- font-size: 24px;
- content: "\f56f";
-}*/
-
-/*span.faicon.import{
- width: 32px;
-}*/
span.faicon.import::before{
font-size: 24px;
font-weight: 400;
@@ -711,4 +706,4 @@ span.faicon.fa-1::before{
span.faicon.phone::before{
content: "\f095";
-}
\ No newline at end of file
+}
diff --git a/resources/sass/admin_new/pages/survey_edit/conditions.scss b/resources/sass/admin_new/pages/survey_edit/conditions.scss
index c4cb3be69..520aa9a04 100644
--- a/resources/sass/admin_new/pages/survey_edit/conditions.scss
+++ b/resources/sass/admin_new/pages/survey_edit/conditions.scss
@@ -455,6 +455,34 @@ and open the template in the editor.
}
}
}
+
+ &.with-icon{
+
+ span{
+ display: flex;
+ align-items: center;
+
+ cursor: pointer;
+ color: $blue;
+
+ &:hover{
+ color: $dark-blue;
+
+ .faicon::before{
+ color: $dark-blue;
+ }
+ }
+ }
+
+ .faicon{
+ margin-right: 8px;
+
+ &:before{
+ color: $blue;
+ font-size: 18px;
+ }
+ }
+ }
}
}
@@ -531,6 +559,43 @@ and open the template in the editor.
}
}
}
+
+ .remove_condition_holder{
+ margin: 0 16px;
+ padding: 16px 0;
+
+ border-top: 1px $dark-gray2 solid;
+
+ div{
+ cursor: pointer;
+ margin-bottom: 16px;
+
+ color: $blue;
+ font-size: 14px;
+
+ transition: 0.2s;
+
+ .faicon{
+ margin-right: 8px;
+
+ &:before{
+ font-size: 14px;
+ }
+ }
+
+ &:last-child{
+ margin-bottom: 0;
+ }
+
+ &:hover{
+ color: $dark-blue;
+
+ .faicon:before{
+ color: $dark-blue;
+ }
+ }
+ }
+ }
}
diff --git a/resources/sass/admin_new/pages/survey_edit/question_right_settings.scss b/resources/sass/admin_new/pages/survey_edit/question_right_settings.scss
index e9ac8561a..8f41188a1 100644
--- a/resources/sass/admin_new/pages/survey_edit/question_right_settings.scss
+++ b/resources/sass/admin_new/pages/survey_edit/question_right_settings.scss
@@ -213,6 +213,34 @@
}
}
}
+
+ &.with-icon{
+
+ span{
+ display: flex;
+ align-items: center;
+
+ cursor: pointer;
+ color: $blue;
+
+ &:hover{
+ color: $dark-blue;
+
+ .faicon::before{
+ color: $dark-blue;
+ }
+ }
+ }
+
+ .faicon{
+ margin-right: 8px;
+
+ &:before{
+ color: $blue;
+ font-size: 18px;
+ }
+ }
+ }
}
}