[jboss-svn-commits] JBL Code SVN: r11958 - labs/jbossforums/branches/forums26/forums/src/resources/portal-forums-war/views/topics.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri May 18 18:44:03 EDT 2007
Author: unibrew
Date: 2007-05-18 18:44:03 -0400 (Fri, 18 May 2007)
New Revision: 11958
Modified:
labs/jbossforums/branches/forums26/forums/src/resources/portal-forums-war/views/topics/viewtopic_body.xhtml
Log:
[JBFORUMS-219] TopicView display correction to fix issue with Portal css.
Modified: labs/jbossforums/branches/forums26/forums/src/resources/portal-forums-war/views/topics/viewtopic_body.xhtml
===================================================================
--- labs/jbossforums/branches/forums26/forums/src/resources/portal-forums-war/views/topics/viewtopic_body.xhtml 2007-05-18 16:42:43 UTC (rev 11957)
+++ labs/jbossforums/branches/forums26/forums/src/resources/portal-forums-war/views/topics/viewtopic_body.xhtml 2007-05-18 22:44:03 UTC (rev 11958)
@@ -303,9 +303,12 @@
<!-- "Quote", "Edit", and "Delete" buttons -->
<td valign="top" nowrap="">
<h:form>
+ <table>
+ <tr>
<!-- add the quote link -->
<forums:isAllowed fragment="acl://reply" contextData="#{topic.topic}">
- <h:commandLink action="#{replyTopic.startQuote}" style="text-decoration: none;">
+ <td>
+ <h:commandLink action="#{replyTopic.startQuote}" style="text-decoration: none;">
<f:param name="f" value="#{topic.topic.forum.id}"/>
<f:param name="t" value="#{topic.topic.id}"/>
<f:param name="p" value="#{postrow.id}"/>
@@ -313,19 +316,23 @@
<img border="0" src="#{forums:themeURL('resourceIconQuoteURL')}"/>
</f:verbatim>
</h:commandLink>
+ </td>
</forums:isAllowed>
<!-- add the edit post link -->
<forums:isAllowed fragment="acl://editPost" contextData="#{postrow}">
- <h:commandLink action="#{editPost.start}" style="text-decoration: none;">
+ <td>
+ <h:commandLink action="#{editPost.start}" style="text-decoration: none;">
<f:param name="p" value="#{postrow.id}"/>
<f:verbatim>
<img border="0" src="#{forums:themeURL('resourceIconEditURL')}"/>
</f:verbatim>
</h:commandLink>
+ </td>
</forums:isAllowed>
<!-- add the delete post link -->
<forums:isAllowed fragment="acl://deletePost" contextData="#{postrow}">
- <h:outputLink value="#{forums:outputLink('/views/topics/delete_post.jsf',true)}" style="text-decoration: none;">
+ <td>
+ <h:outputLink value="#{forums:outputLink('/views/topics/delete_post.jsf',true)}" style="text-decoration: none;">
<f:param name="p" value="#{postrow.id}"/>
<f:param name="t" value="#{topic.topic.id}"/>
<f:param name="f" value="#{topic.topic.forum.id}"/>
@@ -333,7 +340,10 @@
<img border="0" src="#{forums:themeURL('resourceIconDelpostURL')}"/>
</f:verbatim>
</h:outputLink>
- </forums:isAllowed>
+ </td>
+ </forums:isAllowed>
+ </tr>
+ </table>
</h:form>
</td>
</tr>
More information about the jboss-svn-commits
mailing list