You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2007/06/01 02:02:45 UTC
svn commit: r543328 -
/roller/trunk/apps/weblogger/web/WEB-INF/jsps/editor/ThemeEdit.jsp
Author: agilliland
Date: Thu May 31 17:02:44 2007
New Revision: 543328
URL: http://svn.apache.org/viewvc?view=rev&rev=543328
Log:
fixing bug where the link for "modify custom stylesheet" was present on the shared theme optioner of theme selector page when the user was currently using a custom theme.
Modified:
roller/trunk/apps/weblogger/web/WEB-INF/jsps/editor/ThemeEdit.jsp
Modified: roller/trunk/apps/weblogger/web/WEB-INF/jsps/editor/ThemeEdit.jsp
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/WEB-INF/jsps/editor/ThemeEdit.jsp?view=diff&rev=543328&r1=543327&r2=543328
==============================================================================
--- roller/trunk/apps/weblogger/web/WEB-INF/jsps/editor/ThemeEdit.jsp (original)
+++ roller/trunk/apps/weblogger/web/WEB-INF/jsps/editor/ThemeEdit.jsp Thu May 31 17:02:44 2007
@@ -110,7 +110,8 @@
» <a href="#" onclick="fullPreview(document.getElementById('sharedSelector'))">See how your blog will look with this theme.</a><br/>
How can you know if this is really the theme for you until you see it on your blog right? Click the link above to launch a full page preview of how your blog will look with the selected theme.
</p>
- <s:if test="actionWeblog.theme.customStylesheet != null">
+
+ <s:if test="!customTheme && actionWeblog.theme.customStylesheet != null">
<p>
<s:url action="stylesheetEdit" id="stylesheetEdit" >
<s:param name="weblog" value="%{actionWeblog.handle}" />
@@ -154,4 +155,4 @@
<s:else>
updateThemeChooser(document.getElementById('sharedRadio'));
</s:else>
-</script>
\ No newline at end of file
+</script>