You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/10/18 23:24:23 UTC

[sling-org-apache-sling-hapi-samplecontent] 05/06: SLING-5474 : Move sightly use objects to a different package. Apply patch from Andrei Dulvac

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-hapi-samplecontent.git

commit 0b12bdadfda2d750bc5169ace0606a3fa7dcf2ec
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Mon Feb 1 17:15:30 2016 +0000

    SLING-5474 : Move sightly use objects to a different package. Apply patch from Andrei Dulvac
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1727977 13f79535-47bb-0310-9956-ffa450edef68
---
 .../hapi_sample/components/details/details.html    |  4 ++--
 .../hapi_sample/components/sample1/sample1.html    | 22 +++++++++++-----------
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/src/main/resources/SLING-INF/apps/sling/hapi_sample/components/details/details.html b/src/main/resources/SLING-INF/apps/sling/hapi_sample/components/details/details.html
index 53640e8..63fc1d8 100644
--- a/src/main/resources/SLING-INF/apps/sling/hapi_sample/components/details/details.html
+++ b/src/main/resources/SLING-INF/apps/sling/hapi_sample/components/details/details.html
@@ -43,7 +43,7 @@
     </div>
     <div class="row"></div>
 
-    <div class="row" data-sly-use.card="${'org.apache.sling.hapi.HApiUse' @type='/apps/sling/hapi_sample/types/pic_card'}"
+    <div class="row" data-sly-use.card="${'org.apache.sling.hapi.sightly.HApiUse' @type='/apps/sling/hapi_sample/types/pic_card'}"
          data-sly-attribute="${card.itemtype}">
         <div class="col-lg-6">
             <div class="card-asset">
@@ -57,7 +57,7 @@
                 <p>Type: <span class="type">PSD</span></p>
 
                 <p data-sly-attribute="${card.itemprop.resolution}"
-                   data-sly-use.resolution="${'org.apache.sling.hapi.HApiUse' @type=card.proptype.resolution}" class="resolution">
+                   data-sly-use.resolution="${'org.apache.sling.hapi.sightly.HApiUse' @type=card.proptype.resolution}" class="resolution">
                     <span>Resolution:</span>
                     <span data-sly-attribute="${resolution.itemprop.width}">1620</span> x <span
                         data-sly-attribute="${resolution.itemprop.height}">670</span>
diff --git a/src/main/resources/SLING-INF/apps/sling/hapi_sample/components/sample1/sample1.html b/src/main/resources/SLING-INF/apps/sling/hapi_sample/components/sample1/sample1.html
index 5bcdbd4..9066b76 100644
--- a/src/main/resources/SLING-INF/apps/sling/hapi_sample/components/sample1/sample1.html
+++ b/src/main/resources/SLING-INF/apps/sling/hapi_sample/components/sample1/sample1.html
@@ -45,7 +45,7 @@
 
     <div class="row">
         <div class="col-md-4">
-            <div data-sly-use.card="${'org.apache.sling.hapi.HApiUse' @type='/apps/sling/hapi_sample/types/album_card'}"
+            <div data-sly-use.card="${'org.apache.sling.hapi.sightly.HApiUse' @type='/apps/sling/hapi_sample/types/album_card'}"
                  data-sly-attribute="${card.itemtype}" class="card-asset">
                 <a rel="self" href="details.html">
                     <img data-sly-attribute="${card.itemprop.thumbnail}" class="show-grid" src="assets/preview-small-album.png" alt="">
@@ -68,7 +68,7 @@
                 </a>
             </div>
 
-            <div data-sly-use.card="${'org.apache.sling.hapi.HApiUse' @type='/apps/sling/hapi_sample/types/pic_card'}"
+            <div data-sly-use.card="${'org.apache.sling.hapi.sightly.HApiUse' @type='/apps/sling/hapi_sample/types/pic_card'}"
                  data-sly-attribute="${card.itemtype}" class="card-asset">
                 <a rel="self" href="details.html">
                     <img data-sly-attribute="${card.itemprop.thumbnail}" class="show-grid" src="assets/preview-small.png" alt="">
@@ -79,7 +79,7 @@
                         <p class="type">PSD</p>
 
                         <p data-sly-attribute="${card.itemprop.resolution}"
-                           data-sly-use.resolution="${'org.apache.sling.hapi.HApiUse' @type=card.proptype.resolution}" class="resolution">
+                           data-sly-use.resolution="${'org.apache.sling.hapi.sightly.HApiUse' @type=card.proptype.resolution}" class="resolution">
                             <span data-sly-attribute="${resolution.itemprop.width}">1220</span> x <span
                                 data-sly-attribute="${resolution.itemprop.height}">400</span>
                         </p>
@@ -99,7 +99,7 @@
         </div>
 
         <div class="col-md-4">
-            <div data-sly-use.card="${'org.apache.sling.hapi.HApiUse' @type='/apps/sling/hapi_sample/types/pic_card'}"
+            <div data-sly-use.card="${'org.apache.sling.hapi.sightly.HApiUse' @type='/apps/sling/hapi_sample/types/pic_card'}"
                  data-sly-attribute="${card.itemtype}" class="card-asset">
                 <a rel="self" href="details.html">
                     <img data-sly-attribute="${card.itemprop.thumbnail}" class="show-grid" src="assets/preview-small.png" alt="">
@@ -110,7 +110,7 @@
                         <p class="type">JPG</p>
 
                         <p data-sly-attribute="${card.itemprop.resolution}"
-                           data-sly-use.resolution="${'org.apache.sling.hapi.HApiUse' @type=card.proptype.resolution}" class="resolution">
+                           data-sly-use.resolution="${'org.apache.sling.hapi.sightly.HApiUse' @type=card.proptype.resolution}" class="resolution">
                             <span data-sly-attribute="${resolution.itemprop.width}">1520</span> x <span
                                 data-sly-attribute="${resolution.itemprop.height}">450</span>
                         </p>
@@ -128,7 +128,7 @@
                 </a>
             </div>
 
-            <div data-sly-use.card="${'org.apache.sling.hapi.HApiUse' @type='/apps/sling/hapi_sample/types/pic_card'}"
+            <div data-sly-use.card="${'org.apache.sling.hapi.sightly.HApiUse' @type='/apps/sling/hapi_sample/types/pic_card'}"
                  data-sly-attribute="${card.itemtype}" class="card-asset">
                 <a rel="self" href="details.html">
                     <img data-sly-attribute="${card.itemprop.thumbnail}" src="assets/preview-small.png" alt="">
@@ -139,7 +139,7 @@
                         <p class="type">PSD</p>
 
                         <p data-sly-attribute="${card.itemprop.resolution}"
-                           data-sly-use.resolution="${'org.apache.sling.hapi.HApiUse' @type=card.proptype.resolution}" class="resolution">
+                           data-sly-use.resolution="${'org.apache.sling.hapi.sightly.HApiUse' @type=card.proptype.resolution}" class="resolution">
                             <span data-sly-attribute="${resolution.itemprop.width}">1520</span> x <span
                                 data-sly-attribute="${resolution.itemprop.height}">600</span>
                         </p>
@@ -159,7 +159,7 @@
         </div>
 
         <div class="col-md-4">
-            <div data-sly-use.card="${'org.apache.sling.hapi.HApiUse' @type='/apps/sling/hapi_sample/types/pic_card'}"
+            <div data-sly-use.card="${'org.apache.sling.hapi.sightly.HApiUse' @type='/apps/sling/hapi_sample/types/pic_card'}"
                  data-sly-attribute="${card.itemtype}" class="card-asset">
                 <a rel="self" href="details.html">
                     <img data-sly-attribute="${card.itemprop.thumbnail}" src="assets/preview-small.png" alt="">
@@ -170,7 +170,7 @@
                         <p class="type">PNG</p>
 
                         <p data-sly-attribute="${card.itemprop.resolution}"
-                           data-sly-use.resolution="${'org.apache.sling.hapi.HApiUse' @type=card.proptype.resolution}" class="resolution">
+                           data-sly-use.resolution="${'org.apache.sling.hapi.sightly.HApiUse' @type=card.proptype.resolution}" class="resolution">
                             <span data-sly-attribute="${resolution.itemprop.width}">1220</span> x <span
                                 data-sly-attribute="${resolution.itemprop.height}">400</span>
                         </p>
@@ -188,7 +188,7 @@
                 </a>
             </div>
 
-            <div data-sly-use.card="${'org.apache.sling.hapi.HApiUse' @type='/apps/sling/hapi_sample/types/pic_card'}"
+            <div data-sly-use.card="${'org.apache.sling.hapi.sightly.HApiUse' @type='/apps/sling/hapi_sample/types/pic_card'}"
                  data-sly-attribute="${card.itemtype}" class="card-asset">
                 <a rel="self" href="details.html">
                     <img data-sly-attribute="${card.itemprop.thumbnail}" src="assets/preview-small.png" alt="">
@@ -199,7 +199,7 @@
                         <p class="type">PSD</p>
 
                         <p data-sly-attribute="${card.itemprop.resolution}"
-                           data-sly-use.resolution="${'org.apache.sling.hapi.HApiUse' @type=card.proptype.resolution}" class="resolution">
+                           data-sly-use.resolution="${'org.apache.sling.hapi.sightly.HApiUse' @type=card.proptype.resolution}" class="resolution">
                             <span data-sly-attribute="${resolution.itemprop.width}">1220</span> x <span
                                 data-sly-attribute="${resolution.itemprop.height}">400</span>
                         </p>

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.