-
Notifications
You must be signed in to change notification settings - Fork 470
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c657827
commit 03f738a
Showing
11 changed files
with
848 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
<!-- Container Code: /application/containers/defualt/banner.vtl --> | ||
#set($imageURL = "/dA/"+$dotContentMap.identifier+"/image/1200maxw/1200cw/570ch/80q/13ro/"+$dotContentMap.image.name) | ||
#if($layout == 1) | ||
<div class="bg-image-full bg-overlay-30 context-dark" style="background-image: url('$imageURL');"> | ||
<div class="container"> | ||
<div class="row justify-content-lg-center"> | ||
<div class="col-lg-9 text-center"> | ||
<p | ||
class="banner-title" | ||
#if ($EDIT_MODE) | ||
data-language="${CONTENT_LANGUAGE}" | ||
data-mode="minimal" | ||
data-inode="${ContentInode}" | ||
data-field-name="title" | ||
#end | ||
>$!{title}</p> | ||
<h2 class="text-decoration-lines-2"> | ||
<span | ||
#if ($EDIT_MODE) | ||
data-language="${CONTENT_LANGUAGE}" | ||
data-mode="minimal" | ||
data-inode="${ContentInode}" | ||
data-field-name="caption" | ||
#end | ||
> | ||
$!{caption} | ||
<span class="text-decoration-line text-decoration-line-left"></span> | ||
<span class="text-decoration-line text-decoration-line-right"></span> | ||
</span> | ||
</h2> | ||
|
||
#if($UtilMethods.isSet($link) && $UtilMethods.isSet($buttonText)) | ||
<div class="group-lg"> | ||
<a class="button button-primary button-leaf" href="$link">$buttonText</a> | ||
</div> | ||
#end | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
#elseif($layout == 2) | ||
<div class="bg-image-full bg-overlay-20" style="background-image: url('$imageURL');"> | ||
<div class="container"> | ||
<div class="row justify-content-lg-start"> | ||
<div class="col-lg-7"> | ||
<div class="bg-white-60 py-5 text-center"> | ||
<p class="banner-title">$!{title}</p> | ||
<h2 class="text-decoration-lines-2" > | ||
<span> | ||
$!{caption} | ||
<span class="text-decoration-line text-decoration-line-left"></span> | ||
<span class="text-decoration-line text-decoration-line-right"></span> | ||
</span> | ||
</h2> | ||
#if($UtilMethods.isSet($link) && $UtilMethods.isSet($buttonText)) | ||
<div class="group-lg"> | ||
<a class="button button-primary button-leaf" href="$link">$buttonText</a> | ||
</div> | ||
#end | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
#elseif($layout == 3) | ||
<div class="banner banner-3 context-dark" style="background-image: url('$imageURL');"> | ||
<div class="container"> | ||
<div class="row justify-content-center justify-content-lg-start"> | ||
<div class="col-md-12 col-lg-5 col-xl-5"> | ||
<div class="p-lg-3 text-center"> | ||
<p class="banner-title">$!{title}</p> | ||
<h2 class="text-decoration-lines-2" > | ||
<span> | ||
$!{caption} | ||
<span class="text-decoration-line text-decoration-line-left"></span> | ||
<span class="text-decoration-line text-decoration-line-right"></span> | ||
</span> | ||
</h2> | ||
#if($UtilMethods.isSet($link) && $UtilMethods.isSet($buttonText)) | ||
<div class="group-lg"> | ||
<a class="button button-white button-white-2 button-leaf" href="$link">$buttonText</a> | ||
</div> | ||
#end | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
#else | ||
<div class="bg-image-full bg-overlay-20" style="background-image: url('$imageURL');"> | ||
<div class="container"> | ||
<div class="row justify-content-lg-end"> | ||
<div class="col-lg-7"> | ||
<div class="bg-black-60 py-5 text-center"> | ||
<p class="banner-title">$!{title}</p> | ||
<h2 class="text-decoration-lines-2" > | ||
<span> | ||
$!{caption} | ||
<span class="text-decoration-line text-decoration-line-left"></span> | ||
<span class="text-decoration-line text-decoration-line-right"></span> | ||
</span> | ||
</h2> | ||
#if($UtilMethods.isSet($link) && $UtilMethods.isSet($buttonText)) | ||
<div class="group-lg"> | ||
<a class="button button-primary button-leaf" href="$link">$buttonText</a> | ||
</div> | ||
#end | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
#end |
12 changes: 12 additions & 0 deletions
12
test-karate/src/test/java/graphql/ftm/deleteFolder.feature
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,12 @@ | ||
Feature: Delete a Folder | ||
Scenario: Delete a folder on the given path if exists | ||
Given url baseUrl + '/api/v1/folder/default' | ||
And headers commonHeaders | ||
And request | ||
""" | ||
["#(path)"] | ||
""" | ||
When method DELETE | ||
Then status 200 | ||
* def errors = call extractErrors response | ||
* match errors == [] |
Oops, something went wrong.