Diff for /MPIWGWeb/zpt/Attic/editPublications.zpt between versions 1.1.2.12 and 1.1.2.18

version 1.1.2.12, 2008/08/25 11:30:09 version 1.1.2.18, 2010/10/20 10:51:07
Line 26 Line 26
   </form>    </form>
   
   <form action="changePublications" method="post">    <form action="changePublications" method="post">
   <input type="hidden" name="key_main" tal:attributes="value person/key">    <input type="hidden" name="key_main" tal:attributes="value python:here.decode(person.key)">
   <input type="hidden" name="main_fields"    <input type="hidden" name="main_fields"
     value="publications__title,publications__publish">      value="publications__title,publications__publish">
   
Line 45 Line 45
           <th>Priority</th>            <th>Priority</th>
           <th align="left" width="100">Show</th>            <th align="left" width="100">Show</th>
         </tr>          </tr>
         <tr tal:repeat="found python:here.sortBibliography(books)">          <tal:x tal:repeat="found python:here.sortBibliography(books)">
           <tr>
           <td><a tal:condition="python:found.id_gen_bib and (not found.id_gen_bib=='')"            <td><a tal:condition="python:found.id_gen_bib and (not found.id_gen_bib=='')"
             tal:attributes="href python:'editBibliography?id=%s'%found.id_gen_bib">edit</a>              tal:attributes="href python:'editBibliography?id=%s'%found.id_gen_bib">edit</a>
           <a            <a
Line 61 Line 62
                  yes_no_list,                   yes_no_list,
                  boxType='radio',                   boxType='radio',
                  checked=found.publish)" />                   checked=found.publish)" />
                   
           </tr>
           <tr>
           <td>&nbsp;</td>
           <td valign="top"><em>Link:</em><input
               tal:attributes="name python:'publications__link__'+str(found.oid);
                        value python:getattr(found,'link','')"
               size="150" /></td>
           <td>&nbsp;</td>
           <td>&nbsp;</td>
         </tr>          </tr>
            </tal:x>
       </table>        </table>
     </tal:block>      </tal:block>
   
Line 74 Line 86
           <th>Priority</th>            <th>Priority</th>
           <th align="left" width="100">Show</th>            <th align="left" width="100">Show</th>
         </tr>          </tr>
         <tr tal:repeat="found python:here.sortBibliography(edited_books)">          <tal:x tal:repeat="found python:here.sortBibliography(edited_books)">
           <tr>
           <td><a tal:condition="python:found.id_gen_bib and (not found.id_gen_bib=='')"            <td><a tal:condition="python:found.id_gen_bib and (not found.id_gen_bib=='')"
             tal:attributes="href python:'editBibliography?id=%s'%found.id_gen_bib">edit</a>              tal:attributes="href python:'editBibliography?id=%s'%found.id_gen_bib">edit</a>
           <a            <a
Line 91 Line 104
                  boxType='radio',                   boxType='radio',
                  checked=found.publish)" />                   checked=found.publish)" />
         </tr>          </tr>
           <tr>
           <td>&nbsp;</td>
           <td valign="top"><em>Link:</em><input
               tal:attributes="name python:'publications__link__'+str(found.oid);
                        value python:getattr(found,'link','')"
               size="150" /></td>
           <td>&nbsp;</td>
           <td>&nbsp;</td>
           </tr>
            </tal:x>
       </table>        </table>
     </tal:block>      </tal:block>
   
Line 103 Line 126
           <th>Priority</th>            <th>Priority</th>
           <th align="left" width="100">Show</th>            <th align="left" width="100">Show</th>
         </tr>          </tr>
         <tr tal:repeat="found python:here.sortBibliography(articles)">          <tal:x tal:repeat="found python:here.sortBibliography(articles)">
           <tr>
           <td><a tal:condition="python:found.id_gen_bib and (not found.id_gen_bib=='')"            <td><a tal:condition="python:found.id_gen_bib and (not found.id_gen_bib=='')"
             tal:attributes="href python:'editBibliography?id=%s'%found.id_gen_bib">edit</a>              tal:attributes="href python:'editBibliography?id=%s'%found.id_gen_bib">edit</a>
           <a            <a
Line 120 Line 144
                  boxType='radio',                   boxType='radio',
                  checked=found.publish)" />                   checked=found.publish)" />
         </tr>          </tr>
           <tr>
           <td>&nbsp;</td>
           <td valign="top"><em>Link:</em><input
               tal:attributes="name python:'publications__link__'+str(found.oid);
                        value python:getattr(found,'link','')"
               size="150" /></td>
           <td>&nbsp;</td>
           <td>&nbsp;</td>
           </tr>
            </tal:x>
       </table>        </table>
     </tal:block>      </tal:block>
   
Line 132 Line 166
         <th>Priority</th>          <th>Priority</th>
         <th align="left" width="100">Show</th>          <th align="left" width="100">Show</th>
       </tr>        </tr>
       <tr tal:repeat="found python:here.sortBibliography(not_displayed)">        <tal:x tal:repeat="found python:here.sortBibliography(not_displayed)">
         <tr>
         <td><a          <td><a
           tal:attributes="href python:'deleteField?table=publications&oid=%s'%found.oid">delete</a></td>            tal:attributes="href python:'deleteField?table=publications&oid=%s'%found.oid">delete</a></td>
         <td><span tal:replace="structure python:here.formatBibliography(here,here.decode(found))" /></td>          <td><span tal:replace="structure python:here.formatBibliography(here,here.decode(found))" /></td>
Line 147 Line 182
                  boxType='radio',                   boxType='radio',
                  checked=found.publish)" />                   checked=found.publish)" />
       </tr>        </tr>
         <tr>
           <td>&nbsp;</td>
           <td valign="top"><em>Link:</em><input
               tal:attributes="name python:'publications__link__'+str(found.oid);
                        value python:getattr(found,'link','')"
               size="150" /></td>
           <td>&nbsp;</td>
           <td>&nbsp;</td>
           </tr>
            </tal:x>
     </table>      </table>
     </tal:block>      </tal:block>
           
Line 176 Line 221
       </form>        </form>
               
       <br/><br/>        <br/><br/>
       <h3><a href="addPublications">Add Publications to your list</a></h3>        <h3><a href="addPublicationsBib">Add Publications to your list</a></h3>
    <!--   <h4>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="addPublications">Add      <!--   <h4>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="addPublications">Add 
 entries from the Institutsbibliographie</a></h4>  entries from the Institutsbibliographie</a></h4>
       <h4>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="newBibliography">Add an entry that cannot be found in the         <h4>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="newBibliography">Add an entry that cannot be found in the 

Removed from v.1.1.2.12  
changed lines
  Added in v.1.1.2.18


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>