[jboss-cvs] JBossBlog SVN: r45 - trunk-esial/blog-core/src/web/views.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sat Feb 3 09:31:17 EST 2007
Author: acrignon
Date: 2007-02-03 09:31:17 -0500 (Sat, 03 Feb 2007)
New Revision: 45
Modified:
trunk-esial/blog-core/src/web/views/blog_view.xhtml
trunk-esial/blog-core/src/web/views/view.xhtml
Log:
little change of presentation
Modified: trunk-esial/blog-core/src/web/views/blog_view.xhtml
===================================================================
--- trunk-esial/blog-core/src/web/views/blog_view.xhtml 2007-01-22 16:44:44 UTC (rev 44)
+++ trunk-esial/blog-core/src/web/views/blog_view.xhtml 2007-02-03 14:31:17 UTC (rev 45)
@@ -6,32 +6,33 @@
xmlns:blog="http://www.jboss.org/portal/jbossblog">
<ui:composition template="view.xhtml">
<ui:define name="editlink">
- <h:commandLink value="edit" action="#{blogView.blogEditFromBlogView}" />
+ <h:commandLink value="Edit data" action="#{blogView.blogEditFromBlogView}" />
</ui:define>
<ui:define name="viewmain">
- <h:panelGroup rendered="#{blogView.blogModifiable}">
+ <h:panelGrid columns="3">
+ <h:panelGroup>
<blog:isAllowed fragment="acl://managePost" contextData="#{blogView.blogName}">
- <h:form>
- <p class="admin-link">You can <h:commandLink value="create" action="#{blogView.postNew}" />
- new posts in this blog.</p>
+ <h:form rendered="#{blogView.blogModifiable}">
+ <p class="admin-link"><h:commandLink value="New post" action="#{blogView.postNew}" /></p>
</h:form>
</blog:isAllowed>
</h:panelGroup>
<h:panelGroup rendered="#{!blogView.defaultBlog}">
<h:form>
- <p class="admin-link"><h:commandLink value="Return" action="#{blogView.returnToDefault}" />
- to default blog view.</p>
+ <p class="admin-link"><h:commandLink value="Return to default view" action="#{blogView.returnToDefault}" /></p>
</h:form>
</h:panelGroup>
-
+
+ <h:panelGroup>
<blog:isAllowed fragment="acl://accessAdminModule">
<h:form>
- <p class="admin-link">You can <h:commandLink value="administrate" action="admin_panel" />
- blogs.</p>
+ <p class="admin-link"><h:commandLink value="Administrate blogs" action="admin_panel" /></p>
</h:form>
- </blog:isAllowed>
+ </blog:isAllowed>
+ </h:panelGroup>
+ </h:panelGrid>
<h:form>
<h:dataTable value="#{blogView.posts}" var="post" binding="#{blogView.postsData}"
Modified: trunk-esial/blog-core/src/web/views/view.xhtml
===================================================================
--- trunk-esial/blog-core/src/web/views/view.xhtml 2007-01-22 16:44:44 UTC (rev 44)
+++ trunk-esial/blog-core/src/web/views/view.xhtml 2007-02-03 14:31:17 UTC (rev 45)
@@ -26,7 +26,7 @@
<h:panelGroup rendered="#{blogView.blogModifiable}">
<blog:isAllowed fragment="acl://manageCategory" contextData="#{blogView.blogName}">
<h:form>
- <p class="admin-link">You can <ui:insert name="editlink" /> this blog's data.</p>
+ <p class="admin-link"><ui:insert name="editlink" /></p>
</h:form>
</blog:isAllowed>
</h:panelGroup>
More information about the jboss-cvs-commits
mailing list