Ignore:
Timestamp:
20/07/12 12:28:05 (8 years ago)
Author:
gparton
Message:

Updated search page to give something a little more meaningful in the results. Now has the title field as a link to the appropriate object with the description below.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/MolesManager/trunk/src/MolesManager/static/templates/cedaSearchResults.html

    r8296 r8473  
    2828            <thead> 
    2929                <tr> 
    30                     <th>Location</th> 
    31                     <th>Id</th> 
    32                     <th>Author</th> 
     30                    <th>Title</th> 
    3331                </tr> 
    3432            </thead> 
    3533        <tbody>   
    36         {% for location, id, auth  in searchResults %} 
     34        {% for location, description, title  in searchResults %} 
    3735                <tr bgcolor="white"> 
    38                         <td>{{ location }}</td> 
    39                         <td><a href="{{ location }}">{{ id }}</a></td> 
    40                         <td>{{ auth }}</td> 
     36                        <td><a href="{{ location }}">{{ title }}</a></td> 
     37                </tr> 
     38                <tr bgcolor=#66CCFF> 
     39                        <td>{{ description }}</td> 
    4140                </tr>    
    4241        {% endfor %} 
Note: See TracChangeset for help on using the changeset viewer.