Kawai Wiki

Rev

Rev 69 | Rev 72 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 69 Rev 71
Line 568... Line 568...
568
    <mtw:hasAuthorization groups="admin, editor">
568
    <mtw:hasAuthorization groups="admin, editor">
569
569
570
    <mtw:if test="bodyColumn.preview" value="true">
570
    <mtw:if test="bodyColumn.preview" value="true">
571
571
572
    	<mtw:if test="bodyColumn.new" value="true">
572
    	<mtw:if test="bodyColumn.new" value="true">
573
			<div style="text-align: left; padding-left: 14px;">
-
 
574
			<a href="#" onclick="return showEditPreviewNewPageDialog('<mtw:out value="bodyColumn.name" />', '<mtw:out value="bodyColumn.language.locale" />');" title="<k:editTooltip name="bodyColumn" />">This is a Preview</a>
-
 
575
			- <a href="<mtw:contextPath/>/Page.savePreview.mtw?name=<mtw:out value="bodyColumn.name" />&lang=<mtw:out value="bodyColumn.language.locale" />">Save</a>
-
 
-
 
573
			<div style="text-align: left; padding-left: 4px;">
-
 
574
			<b>This is a Preview</b>
-
 
575
			&nbsp;-&nbsp;
-
 
576
            <a href="<mtw:contextPath/>/Page.savePreview.mtw?name=<mtw:out value="bodyColumn.name" />&lang=<mtw:out value="bodyColumn.language.locale" />">Save</a>&nbsp;&nbsp;
-
 
577
            <a href="#" onclick="return showEditPreviewNewPageDialog('<mtw:out value="bodyColumn.name" />', '<mtw:out value="bodyColumn.language.locale" />');" title="<k:editTooltip name="bodyColumn" />">Edit</a>&nbsp;&nbsp;
576
			<a href="<mtw:contextPath/>/Page.discardPreview.mtw?name=<mtw:out value="bodyColumn.name" />&lang=<mtw:out value="bodyColumn.language.locale" />">Discard</a>
578
			<a href="<mtw:contextPath/>/Page.discardPreview.mtw?name=<mtw:out value="bodyColumn.name" />&lang=<mtw:out value="bodyColumn.language.locale" />">Discard</a>
577
			</div>    
579
			</div>    
578
    	</mtw:if>
580
    	</mtw:if>
579
    	<mtw:if test="bodyColumn.new" value="false">
581
    	<mtw:if test="bodyColumn.new" value="false">
580
			<div style="text-align: left; padding-left: 14px;">
-
 
581
			<a href="#" onclick="return showEditPreviewDialog('<mtw:out value="bodyColumn.name" />', '<mtw:out value="bodyColumn.language.locale" />');" title="<k:editTooltip name="bodyColumn" />">This is a Preview</a>
-
 
582
			- <a href="<mtw:contextPath/>/Page.savePreview.mtw?name=<mtw:out value="bodyColumn.name" />&lang=<mtw:out value="bodyColumn.language.locale" />">Save</a>
-
 
583
			<a href="<mtw:contextPath/>/Page.discardPreview.mtw?name=<mtw:out value="bodyColumn.name" />&lang=<mtw:out value="bodyColumn.language.locale" />">Discard</a>
-
 
584
			
-
 
-
 
582
            <div style="text-align: left; padding-left: 4px;">
-
 
583
            <b>This is a Preview</b>
-
 
584
            &nbsp;-&nbsp;
-
 
585
            <a href="<mtw:contextPath/>/Page.savePreview.mtw?name=<mtw:out value="bodyColumn.name" />&lang=<mtw:out value="bodyColumn.language.locale" />">Save</a>&nbsp;&nbsp;
-
 
586
            <a href="#" onclick="return showEditPreviewDialog('<mtw:out value="bodyColumn.name" />', '<mtw:out value="bodyColumn.language.locale" />');" title="<k:editTooltip name="bodyColumn" />">Edit</a>&nbsp;&nbsp;
-
 
587
            <a href="<mtw:contextPath/>/Page.discardPreview.mtw?name=<mtw:out value="bodyColumn.name" />&lang=<mtw:out value="bodyColumn.language.locale" />">Discard</a>
585
			</div>    	
588
			</div>    	
586
    	</mtw:if>
589
    	</mtw:if>
587
    
590
    
588
    </mtw:if>
591
    </mtw:if>
589
592