roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r547540 - in /roller/trunk/apps/weblogger: src/java/org/apache/roller/weblogger/ui/struts2/editor/EntryBean.java web/WEB-INF/classes/ApplicationResources.properties
Date Fri, 15 Jun 2007 06:11:20 GMT
Author: agilliland
Date: Thu Jun 14 23:11:19 2007
New Revision: 547540

URL: http://svn.apache.org/viewvc?view=rev&rev=547540
Log:
status line on scheduled entries should indicate so.


Modified:
    roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/ui/struts2/editor/EntryBean.java
    roller/trunk/apps/weblogger/web/WEB-INF/classes/ApplicationResources.properties

Modified: roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/ui/struts2/editor/EntryBean.java
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/ui/struts2/editor/EntryBean.java?view=diff&rev=547540&r1=547539&r2=547540
==============================================================================
--- roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/ui/struts2/editor/EntryBean.java
(original)
+++ roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/ui/struts2/editor/EntryBean.java
Thu Jun 14 23:11:19 2007
@@ -254,6 +254,9 @@
         return status.equals(WeblogEntry.PUBLISHED);
     }
     
+    public boolean isScheduled() {
+        return status.equals(WeblogEntry.SCHEDULED);
+    }
     
     public void copyTo(WeblogEntry entry) throws WebloggerException {
         

Modified: roller/trunk/apps/weblogger/web/WEB-INF/classes/ApplicationResources.properties
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/WEB-INF/classes/ApplicationResources.properties?view=diff&rev=547540&r1=547539&r2=547540
==============================================================================
--- roller/trunk/apps/weblogger/web/WEB-INF/classes/ApplicationResources.properties (original)
+++ roller/trunk/apps/weblogger/web/WEB-INF/classes/ApplicationResources.properties Thu Jun
14 23:11:19 2007
@@ -961,7 +961,7 @@
 
 pageForm.title=Edit Template
 pageForm.subtitle=Edit template <span>{0}</span> in weblog <span>{1}</span>
-pageForm.tip=You can edit this template to change what it generates.\
+pageForm.tip=You can edit this template to change what it generates. \
 Refer the the Roller Template Guide for information about the objects \
 and code you are allowed to use in a template. This is for advanced \
 users only, if you're not comfortable with HTML, you might want to leave \
@@ -1622,6 +1622,7 @@
 weblogEdit.recentEntries=Recent Weblog Entries
 weblogEdit.remove=Remove
 weblogEdit.save=Save as Draft
+weblogEdit.scheduled=Scheduled
 weblogEdit.scheduledEntries=Scheduled Entries
 weblogEdit.seconds=Seconds
 weblogEdit.status=Status



Mime
View raw message