app/soc/templates/soc/site/docs/list/docs_row.html
author Todd Larsen <tlarsen@google.com>
Tue, 14 Oct 2008 21:39:57 +0000
changeset 329 2d90d49ce78a
parent 298 c76a366c7ab4
child 330 2ef48e962655
permissions -rw-r--r--
Add is_featured boolean property to the Work model, so that Works can be designated as "featured" items in various places in the UI. This will be used to allow Sponsors, Programs, and Organizations to select Documents that should be included in their sidebar menus. Perhaps featured "site" Documents, such as site-wide Terms of Service, should probably be listed below the "User (sign-out)" menu, since the User will have to read and agree to these before being allowed to use the site. A collapsable Javascript sidebar is probably going to be needed soon... Patch by: Todd Larsen Review by: to-be-reviewed

<tr class="off" onmouseover="this.className='on'" onmouseout="this.className='off'" 
onclick="document.location.href='/site/docs/edit/{{ data_element.partial_path }}/{{ data_element.link_name }}'" name="name">
  <td align="right">
   <div class="title">
    <a class="noul"
     href="/site/docs/edit/{{ data_element.partial_path }}/{{ data_element.link_name }}">{{ data_element.partial_path}}/{{ data_element.link_name }}</a>
   </div>
  </td>
  <td><div class="title">{{ data_element.title }}</div></td>
  <td><div class="partialpath">{{ data_element.partial_path }}</div></td>
  <td><div class="link_name">{{ data_element.link_name }}</div></td>
  <td><div class="featured">{{ data_element.is_featured }}</div></td>
  <td><div class="created">{{ data_element.created }}</div></td>
  <td><div class="modified">{{ data_element.modified }}</div></td>
</tr>