Changeset 5035 for MILK


Ignore:
Timestamp:
24/02/09 16:47:11 (10 years ago)
Author:
cbyrom
Message:

Fix template to display atom doc subType when in browse mode.

Location:
MILK/trunk/milk_server/milk_server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk_server/models/ndgdoc.py

    r5024 r5035  
    1212 
    1313import logging 
     14from xml.etree import cElementTree as ET 
    1415import milk_server.lib.helpers as h 
    1516from milk_server.lib import Utilities 
  • MILK/trunk/milk_server/milk_server/templates/atom_editor/atom_functions.html

    r4999 r5035  
    197197                                </td> 
    198198                                </tr> 
    199                                     <span py:if="len(c.subTypes) &gt; 0" py:strip=""> 
     199                                    <span py:if="c.atom.subtypeID" py:strip=""> 
    200200                                            <tr> 
    201201                                        <td class="cellhead">Sub-Type:</td> 
Note: See TracChangeset for help on using the changeset viewer.