roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r469302 - /incubator/roller/trunk/web/WEB-INF/jsps/authoring/WeblogEdit.jsp
Date Mon, 30 Oct 2006 22:29:35 GMT
Author: agilliland
Date: Mon Oct 30 14:29:34 2006
New Revision: 469302

URL: http://svn.apache.org/viewvc?view=rev&rev=469302
Log:
comment out old preview button, it's not really of value now that we have full preview on
saved entries.


Modified:
    incubator/roller/trunk/web/WEB-INF/jsps/authoring/WeblogEdit.jsp

Modified: incubator/roller/trunk/web/WEB-INF/jsps/authoring/WeblogEdit.jsp
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/WEB-INF/jsps/authoring/WeblogEdit.jsp?view=diff&rev=469302&r1=469301&r2=469302
==============================================================================
--- incubator/roller/trunk/web/WEB-INF/jsps/authoring/WeblogEdit.jsp (original)
+++ incubator/roller/trunk/web/WEB-INF/jsps/authoring/WeblogEdit.jsp Mon Oct 30 14:29:34 2006
@@ -381,8 +381,13 @@
         </c:if>
 
         <%-- edit mode buttons --%>
-        <c:if test="${model.editMode}" >
+        <c:if test="${model.editMode && !empty weblogEntryFormEx.id}" >
             
+            <input type="button" name="fullPreview"
+                            value='<fmt:message key="weblogEdit.fullPreviewMode" />'
+                            onclick="fullPreviewMode()" />
+                            
+            <%-- // just commenting out old preview feature until we are sure we want
to delete it
             <c:choose>
                 <c:when test="${!empty weblogEntryFormEx.id}">
                     <input type="button" name="fullPreview"
@@ -395,15 +400,16 @@
                             onclick="previewMode()" />
                 </c:otherwise>
             </c:choose>
-
+            --%>
         </c:if>
 
         <%-- preview mode buttons --%>
+        <%-- // just commenting out old preview feature until we are sure we want to delete
it
         <c:if test="${model.previewMode}" >
             <input type="button" name="edit" value='<fmt:message key="weblogEdit.returnToEditMode"
/>'
                    onclick="returnToEditMode()" />
         </c:if>
-
+        --%>
     </div>
    
 



Mime
View raw message