<?xml version="1.0" encoding="UTF-8"?>
<ticket>
  <assigned-user-id type="integer">4065</assigned-user-id>
  <attachments-count type="integer">0</attachments-count>
  <closed type="boolean">true</closed>
  <created-at type="datetime">2008-09-03T15:03:31+02:00</created-at>
  <creator-id type="integer">4065</creator-id>
  <milestone-due-on type="datetime">2008-09-24T00:00:00+02:00</milestone-due-on>
  <milestone-id type="integer">18144</milestone-id>
  <number type="integer">76</number>
  <permalink>template-for-edit-tab</permalink>
  <priority type="integer">10</priority>
  <project-id type="integer">2549</project-id>
  <raw-data type="binary" nil="true" encoding="base64"></raw-data>
  <state>resolved</state>
  <tag>enhancement major zena</tag>
  <title>Template for edit tab</title>
  <updated-at type="datetime">2008-09-24T14:16:25+02:00</updated-at>
  <user-id type="integer">4065</user-id>
  <user-name>Gaspard Bucher</user-name>
  <creator-name>Gaspard Bucher</creator-name>
  <assigned-user-name>Gaspard Bucher</assigned-user-name>
  <url>http://zena.lighthouseapp.com/projects/2549/tickets/76</url>
  <milestone-title>public beta</milestone-title>
  <original-body>Originally posted on Trac by gaspard
&quot;Original Trac Ticket&quot;:http://dev.zenadmin.org/ticket/76

    
     Description (Last modified by gaspard)

It should be possible to create a template that will render as a tab in the version edit window.

The template could be named:

@@@
Klass-*edit
@@@

How do we avoid rendering any page in this &quot;tab&quot; mode ?

 we just use the '*' prefix : &quot;Klass-*edit&quot; as with 'login', etc

   
h3. Trac Attachments

h3. Trac Comments
2007-09-05 09:09:51 changed by gaspard



    description changed.

    description changed.
    
   


2008-01-27 23:31:03 changed by gaspard



    status changed from new to assigned.
    
    description changed.

    status changed from new to assigned.
    
    description changed.
    
   


2008-01-27 23:31:43 changed by gaspard



    description changed.

    description changed.
    
   


2008-01-27 23:41:08 changed by gaspard


We cannot afford to execute a find for a 'Klass-*edit' template on each popup open.

How/when do we compile this template (for each language) ?

    description changed.

We cannot afford to execute a find for a 'Klass-*edit' template on each popup open.

How/when do we compile this template (for each language) ?

    description changed.
    
   


2008-01-28 01:09:46 changed by gaspard


(In [810]) Fixed all tests (volontarily leaving 1 to test automated testing on commit).
Removed link_box from application_helper (will be replaced by edit tab). Refs #76.</original-body>
  <latest-body>Originally posted on Trac by gaspard
&quot;Original Trac Ticket&quot;:http://dev.zenadmin.org/ticket/76

    
     Description (Last modified by gaspard)

It should be possible to create a template that will render as a tab in the version edit window.

The template could be named:

@@@
Klass-*edit
@@@

How do we avoid rendering any page in this &quot;tab&quot; mode ?

 we just use the '*' prefix : &quot;Klass-*edit&quot; as with 'login', etc

   
h3. Trac Attachments

h3. Trac Comments
2007-09-05 09:09:51 changed by gaspard



    description changed.

    description changed.
    
   


2008-01-27 23:31:03 changed by gaspard



    status changed from new to assigned.
    
    description changed.

    status changed from new to assigned.
    
    description changed.
    
   


2008-01-27 23:31:43 changed by gaspard



    description changed.

    description changed.
    
   


2008-01-27 23:41:08 changed by gaspard


We cannot afford to execute a find for a 'Klass-*edit' template on each popup open.

How/when do we compile this template (for each language) ?

    description changed.

We cannot afford to execute a find for a 'Klass-*edit' template on each popup open.

How/when do we compile this template (for each language) ?

    description changed.
    
   


2008-01-28 01:09:46 changed by gaspard


(In [810]) Fixed all tests (volontarily leaving 1 to test automated testing on commit).
Removed link_box from application_helper (will be replaced by edit tab). Refs #76.</latest-body>
  <original-body-html>&lt;div&gt;&lt;p&gt;Originally posted on Trac by gaspard &lt;a href=&quot;http://dev.zenadmin.org/ticket/76&quot;&gt;Original Trac Ticket&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt; Description (Last modified by gaspard)
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;It should be possible to create a template that will render as a
tab in the version edit window.&lt;/p&gt;
&lt;p&gt;The template could be named:&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
Klass-*edit
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;How do we avoid rendering any page in this &quot;tab&quot; mode ?&lt;/p&gt;
&lt;p&gt;we just use the '&lt;em&gt;' prefix : &quot;Klass-&lt;/em&gt;edit&quot; as with
'login', etc&lt;/p&gt;
&lt;h3&gt;Trac Attachments&lt;/h3&gt;
&lt;h3&gt;Trac Comments&lt;/h3&gt;
&lt;p&gt;2007-09-05 09:09:51 changed by gaspard&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;description changed.

description changed.
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;2008-01-27 23:31:03 changed by gaspard&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;status changed from new to assigned.

description changed.

status changed from new to assigned.

description changed.
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;2008-01-27 23:31:43 changed by gaspard&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;description changed.

description changed.
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;2008-01-27 23:41:08 changed by gaspard&lt;/p&gt;
&lt;p&gt;We cannot afford to execute a find for a 'Klass-*edit' template
on each popup open.&lt;/p&gt;
&lt;p&gt;How/when do we compile this template (for each language) ?&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;description changed.
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;We cannot afford to execute a find for a 'Klass-*edit' template
on each popup open.&lt;/p&gt;
&lt;p&gt;How/when do we compile this template (for each language) ?&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;description changed.
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;2008-01-28 01:09:46 changed by gaspard&lt;/p&gt;
&lt;p&gt;(In &lt;a href=&quot;/projects/2549/changesets/810&quot; title=&quot;Changeset #810&quot;&gt;[810]&lt;/a&gt;) Fixed all tests (volontarily leaving 1
to test automated testing on commit). Removed link_box from
application_helper (will be replaced by edit tab). Refs &lt;a href=&quot;/projects/2549/tickets/76&quot; title=&quot;Ticket #76&quot;&gt;#76&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;</original-body-html>
  <versions type="array">
    <version type="Ticket::Version">
      <assigned-user-id type="integer">4065</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Originally posted on Trac by gaspard
&quot;Original Trac Ticket&quot;:http://dev.zenadmin.org/ticket/76

    
     Description (Last modified by gaspard)

It should be possible to create a template that will render as a tab in the version edit window.

The template could be named:

@@@
Klass-*edit
@@@

How do we avoid rendering any page in this &quot;tab&quot; mode ?

 we just use the '*' prefix : &quot;Klass-*edit&quot; as with 'login', etc

   
h3. Trac Attachments

h3. Trac Comments
2007-09-05 09:09:51 changed by gaspard



    description changed.

    description changed.
    
   


2008-01-27 23:31:03 changed by gaspard



    status changed from new to assigned.
    
    description changed.

    status changed from new to assigned.
    
    description changed.
    
   


2008-01-27 23:31:43 changed by gaspard



    description changed.

    description changed.
    
   


2008-01-27 23:41:08 changed by gaspard


We cannot afford to execute a find for a 'Klass-*edit' template on each popup open.

How/when do we compile this template (for each language) ?

    description changed.

We cannot afford to execute a find for a 'Klass-*edit' template on each popup open.

How/when do we compile this template (for each language) ?

    description changed.
    
   


2008-01-28 01:09:46 changed by gaspard


(In [810]) Fixed all tests (volontarily leaving 1 to test automated testing on commit).
Removed link_box from application_helper (will be replaced by edit tab). Refs #76.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Originally posted on Trac by gaspard &lt;a href=&quot;http://dev.zenadmin.org/ticket/76&quot;&gt;Original Trac Ticket&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt; Description (Last modified by gaspard)
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;It should be possible to create a template that will render as a
tab in the version edit window.&lt;/p&gt;
&lt;p&gt;The template could be named:&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
Klass-*edit
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;How do we avoid rendering any page in this &quot;tab&quot; mode ?&lt;/p&gt;
&lt;p&gt;we just use the '&lt;em&gt;' prefix : &quot;Klass-&lt;/em&gt;edit&quot; as with
'login', etc&lt;/p&gt;
&lt;h3&gt;Trac Attachments&lt;/h3&gt;
&lt;h3&gt;Trac Comments&lt;/h3&gt;
&lt;p&gt;2007-09-05 09:09:51 changed by gaspard&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;description changed.

description changed.
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;2008-01-27 23:31:03 changed by gaspard&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;status changed from new to assigned.

description changed.

status changed from new to assigned.

description changed.
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;2008-01-27 23:31:43 changed by gaspard&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;description changed.

description changed.
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;2008-01-27 23:41:08 changed by gaspard&lt;/p&gt;
&lt;p&gt;We cannot afford to execute a find for a 'Klass-*edit' template
on each popup open.&lt;/p&gt;
&lt;p&gt;How/when do we compile this template (for each language) ?&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;description changed.
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;We cannot afford to execute a find for a 'Klass-*edit' template
on each popup open.&lt;/p&gt;
&lt;p&gt;How/when do we compile this template (for each language) ?&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;description changed.
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;2008-01-28 01:09:46 changed by gaspard&lt;/p&gt;
&lt;p&gt;(In &lt;a href=&quot;/projects/2549/changesets/810&quot; title=&quot;Changeset #810&quot;&gt;[810]&lt;/a&gt;) Fixed all tests (volontarily leaving 1
to test automated testing on commit). Removed link_box from
application_helper (will be replaced by edit tab). Refs &lt;a href=&quot;/projects/2549/tickets/76&quot; title=&quot;Ticket #76&quot;&gt;#76&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-03T15:03:32+02:00</created-at>
      <creator-id type="integer">4065</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">18144</milestone-id>
      <number type="integer">76</number>
      <permalink>template-for-edit-tab</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">2549</project-id>
      <state>open</state>
      <tag>enhancement major zena</tag>
      <title>Template for edit tab</title>
      <updated-at type="datetime">2008-09-03T15:03:32+02:00</updated-at>
      <user-id type="integer">4065</user-id>
      <user-name>Gaspard Bucher</user-name>
      <creator-name>Gaspard Bucher</creator-name>
      <assigned-user-name>Gaspard Bucher</assigned-user-name>
      <url>http://zena.lighthouseapp.com/projects/2549/tickets/76</url>
      <milestone-title>public beta</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">4065</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>(from [68803bd97e8cbd171ef85282878293a28caca0c5]) Added a custom tab in edit popup [#76 state:resolved]. To use this tab, you must create
a template with '*edit' mode. The content of this template will be rendered inside the tab.
You need to have JS turned on for this to work. This solution has *no performance impact* on
popup load time due to the fact that tab rendering is only executed later.
http://github.com/zena/zena/commit/68803bd97e8cbd171ef85282878293a28caca0c5</body>
      <body-html>&lt;div&gt;&lt;p&gt;(from [68803bd97e8cbd171ef85282878293a28caca0c5]) Added a custom
tab in edit popup [&lt;a href=&quot;/projects/2549/tickets/76&quot; title=&quot;Ticket #76&quot;&gt;#76&lt;/a&gt; state:resolved]. To use this tab, you must
create a template with '&lt;em&gt;edit' mode. The content of this
template will be rendered inside the tab. You need to have JS
turned on for this to work. This solution has&lt;/em&gt; no performance
impact* on popup load time due to the fact that tab rendering is
only executed later. &lt;a href=&quot;http://github.com/zena/zena/commit/68803bd97e8cbd171ef85282878293a28caca0c5&quot;&gt;
http://github.com/zena/zena/comm...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-09-24T13:55:38+02:00</created-at>
      <creator-id type="integer">4065</creator-id>
      <diffable-attributes type="yaml">--- 
:tag: enhancement major zena
:state: open
</diffable-attributes>
      <milestone-id type="integer">18144</milestone-id>
      <number type="integer">76</number>
      <permalink>template-for-edit-tab</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">2549</project-id>
      <state>resolved</state>
      <tag>enhancement major zena</tag>
      <title>Template for edit tab</title>
      <updated-at type="datetime">2008-09-24T13:55:41+02:00</updated-at>
      <user-id type="integer">4065</user-id>
      <user-name>Gaspard Bucher</user-name>
      <creator-name>Gaspard Bucher</creator-name>
      <assigned-user-name>Gaspard Bucher</assigned-user-name>
      <url>http://zena.lighthouseapp.com/projects/2549/tickets/76</url>
      <milestone-title>public beta</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">4065</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>It took more then an hour to update the ticket status from github...</body>
      <body-html>&lt;div&gt;&lt;p&gt;It took more then an hour to update the ticket status from
github...&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-09-24T13:56:14+02:00</created-at>
      <creator-id type="integer">4065</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">18144</milestone-id>
      <number type="integer">76</number>
      <permalink>template-for-edit-tab</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">2549</project-id>
      <state>resolved</state>
      <tag>enhancement major zena</tag>
      <title>Template for edit tab</title>
      <updated-at type="datetime">2008-09-24T14:16:24+02:00</updated-at>
      <user-id type="integer">4065</user-id>
      <user-name>Gaspard Bucher</user-name>
      <creator-name>Gaspard Bucher</creator-name>
      <assigned-user-name>Gaspard Bucher</assigned-user-name>
      <url>http://zena.lighthouseapp.com/projects/2549/tickets/76</url>
      <milestone-title>public beta</milestone-title>
    </version>
  </versions>
</ticket>
