You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by dk...@apache.org on 2019/06/24 21:30:52 UTC

[sling-org-apache-sling-app-cms] 01/02: Trivial whitespace

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

dklco pushed a commit to branch dklco/conf-cleanup
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-app-cms.git

commit fed85ad29ff7e6d8727d3eef363d7d8b1f1cb73b
Author: Dan Klco <dk...@apache.org>
AuthorDate: Thu Jun 13 21:37:08 2019 -0500

    Trivial whitespace
---
 .../editor/scripts/resourceTypeOptions.jsp         | 26 +++++++++++-----------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/scripts/resourceTypeOptions.jsp b/ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/scripts/resourceTypeOptions.jsp
index ec9102a..89cbb3a 100644
--- a/ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/scripts/resourceTypeOptions.jsp
+++ b/ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/scripts/resourceTypeOptions.jsp
@@ -19,17 +19,17 @@
  <%@include file="/libs/sling-cms/global.jsp"%>
 <option value="">Select Component</option>
 <c:forEach var="type" items="${fn:split(param.availableTypes,',')}">
-	<optgroup label="${sling:encode(type,'HTML_ATTR')}">
-		<c:set var="query" value="SELECT * FROM [sling:Component] WHERE [componentType]='${type}' ORDER BY [jcr:title]" />
-		<c:forEach var="component" items="${sling:findResources(resourceResolver,query,'JCR-SQL2')}">
-			<c:choose>
-				<c:when test="${fn:startsWith(component.path,'/apps/')}">
-					<option value="${fn:substringAfter(component.path,'/apps/')}"><sling:encode value="${component.valueMap['jcr:title']}" mode="HTML" /></option>
-				</c:when>
-				<c:otherwise>
-					<option value="${fn:substringAfter(component.path,'/libs/')}"><sling:encode value="${component.valueMap['jcr:title']}" mode="HTML" /></option>
-				</c:otherwise>
-			</c:choose>
-		</c:forEach>
-	</optgroup>
+    <optgroup label="${sling:encode(type,'HTML_ATTR')}">
+        <c:set var="query" value="SELECT * FROM [sling:Component] WHERE [componentType]='${type}' ORDER BY [jcr:title]" />
+        <c:forEach var="component" items="${sling:findResources(resourceResolver,query,'JCR-SQL2')}">
+            <c:choose>
+                <c:when test="${fn:startsWith(component.path,'/apps/')}">
+                    <option value="${fn:substringAfter(component.path,'/apps/')}"><sling:encode value="${component.valueMap['jcr:title']}" mode="HTML" /></option>
+                </c:when>
+                <c:otherwise>
+                    <option value="${fn:substringAfter(component.path,'/libs/')}"><sling:encode value="${component.valueMap['jcr:title']}" mode="HTML" /></option>
+                </c:otherwise>
+            </c:choose>
+        </c:forEach>
+    </optgroup>
 </c:forEach>
\ No newline at end of file