Commits

Julio Flores-Schwarzbeck committed afa6fdb

Ready 1.1.0 version

Comments (0)

Files changed (4)

models/pyforum_info.py

 pyforum_info = {'Program Version': '1.1.0',
-                'Date Released': 'Aug 2, 2011',
+                'Date Released': 'Aug 16, 2011',
                 'Author': 'Julio Flores Schwarzbeck',
                 'Email': '<a href="mailto:julio@techfuel.net" title="">julio@techfuel.net</a>',
-                'is_beta': True}
+                'is_beta': False}

static/stylesheet.css

 
 a.smallb:hover {
     color: #B22222;
-    font-size:x-xmall;
+    font-size:x-small;
     background-color:transparent;
     font-weight:bold;
     text-decoration:none;
     display:block;
     border-width: 1px;
     border-style: solid;
-    border-color: 000;
+    border-color: #000000;
     padding:5px;
     margin-top:5px;
     width:200px;
 }
 
 
-input['text'], textarea, select {
+input.text, textarea, select {
     color:#000000;
     background-color:#fafafa;
     border:1px solid #c8c8c8;

views/default/index.html

                                     <div class="{{if forum['update_flag']:}}important{{else:}}small{{pass}}">{{=forum['last_updated']}}
                                         <br />
                                         <span class="small">{{=XML(T('By'))}}</span>
-                                        {{if forum['last_updated_by'] == 'Anonymous User':}}
+                                        {{if not forum['last_updated_by']:}}
                                             <b class="small">{{=XML(T('Anonymous User'))}}</b>
                                         {{else:}}
                                             {{if auth_user.is_auth():}}
                                                    class="{{if forum['update_flag']:}}smallb-new{{else:}}smallb{{pass}}"
                                                    title="">{{=forumhelper.get_display_name(forum['last_updated_by'])}}</a>
                                             {{else:}}
-                                                <b class="small">{{=forum['last_updated_by']}}</b>
+                                                <b class="small">{{=forumhelper.get_display_name(forum['last_updated_by'])}}</b>
                                             {{pass}}
                                         {{pass}}
                                     </div>
                         </tr>
                     {{pass}}
                 {{else:}}
-                    <tr tal:condition="not:category/forum_list" class="shadelight">
+                    <tr class="shadelight">
                         <td class="cell3d" colspan="5">
                             <div class="indent">
                                 <i>{{=T('This category does not contain any forums')}}</i>

views/default/view_forum.html

                                         {{=this_topic.modifying_date.strftime(str(T('%b %d, %Y - %I:%M %p')))}}
                                     </span>
                                     <br /><span class="small">{{=XML(T('By'))}}</span>
-                                    {{if this_topic.modifying_user_id == 0:}}
+                                    {{if not this_topic.modifying_user_id:}}
                                         <b class="small">{{=XML(T('Anonymous User'))}}</b>
                                     {{else:}}
                                         {{if auth_user.is_auth():}}