Some bug fixes as suggested (in great detail, just short of a patch)
by Dirk Lemstra <dirk.lemstra@atosorigin.com>. Also, add some stuff
to the generally-available-to-all-templates dataset. And finally,
re-work all the templates for consistent look and feel.
I can die now.
* viewcvs/lib/viewcvs.py
(common_template_data): Expose the 'where', 'roottype', and
'rootname' Request members, and the 'nav_path', to all views.
Also, do the root selection stuffs ('roots', 'change_root_action',
'change_root_hidden_values').
(nav_header_data): No longer explicitly add 'nav_path' to the data
dictionary.
(_dir_url): For Subversion, supply the revision number to the
generated links.
(view_directory): Include the revision when generating log view
URLs. Also, expose a 'tree_rev_href' data item for linking to the
revision view. No longer explicitly add 'roottype', 'where', and
'current_root' to the data dictionary. No longer do the root
selection stuff here, either.
(view_log): No longer explicitly add 'roottype', 'where', and
'current_root' to the data dictionary.
(human_readable_diff): No longer explicitly add 'where' to the data
dictionary.
(view_markup, view_revision): No longer explicitly add 'roottype' to
the data dictionary.
* viewcvs/website/upgrading.html
Document the changes.
* viewcvs/website/help_rootview.html
Add a missing "<br>".
* viewcvs/templates/annotate.ezt
* viewcvs/templates/graph.ezt
* viewcvs/templates/log.ezt
* viewcvs/templates/log_table.ezt
* viewcvs/templates/markup.ezt
* viewcvs/templates/query.ezt
* viewcvs/templates/revision.ezt
* viewcvs/templates/include/dir_header.ezt
* viewcvs/templates/include/footer.ezt
* viewcvs/templates/include/header.ezt
Beat the heck outta these templates until they all reference
header.ezt and footer.ezt (except for error.ezt), and they all
present a basically consistent interface across all views.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@835 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-04-22 19:40:01 +04:00
|
|
|
[# setup page definitions]
|
2005-10-14 19:33:35 +04:00
|
|
|
[define page_title]Revision [rev][end]
|
2004-05-12 05:46:43 +04:00
|
|
|
[define help_href][docroot]/help_rootview.html[end]
|
Some bug fixes as suggested (in great detail, just short of a patch)
by Dirk Lemstra <dirk.lemstra@atosorigin.com>. Also, add some stuff
to the generally-available-to-all-templates dataset. And finally,
re-work all the templates for consistent look and feel.
I can die now.
* viewcvs/lib/viewcvs.py
(common_template_data): Expose the 'where', 'roottype', and
'rootname' Request members, and the 'nav_path', to all views.
Also, do the root selection stuffs ('roots', 'change_root_action',
'change_root_hidden_values').
(nav_header_data): No longer explicitly add 'nav_path' to the data
dictionary.
(_dir_url): For Subversion, supply the revision number to the
generated links.
(view_directory): Include the revision when generating log view
URLs. Also, expose a 'tree_rev_href' data item for linking to the
revision view. No longer explicitly add 'roottype', 'where', and
'current_root' to the data dictionary. No longer do the root
selection stuff here, either.
(view_log): No longer explicitly add 'roottype', 'where', and
'current_root' to the data dictionary.
(human_readable_diff): No longer explicitly add 'where' to the data
dictionary.
(view_markup, view_revision): No longer explicitly add 'roottype' to
the data dictionary.
* viewcvs/website/upgrading.html
Document the changes.
* viewcvs/website/help_rootview.html
Add a missing "<br>".
* viewcvs/templates/annotate.ezt
* viewcvs/templates/graph.ezt
* viewcvs/templates/log.ezt
* viewcvs/templates/log_table.ezt
* viewcvs/templates/markup.ezt
* viewcvs/templates/query.ezt
* viewcvs/templates/revision.ezt
* viewcvs/templates/include/dir_header.ezt
* viewcvs/templates/include/footer.ezt
* viewcvs/templates/include/header.ezt
Beat the heck outta these templates until they all reference
header.ezt and footer.ezt (except for error.ezt), and they all
present a basically consistent interface across all views.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@835 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-04-22 19:40:01 +04:00
|
|
|
[# end]
|
|
|
|
|
|
|
|
[include "include/header.ezt" "revision"]
|
2003-10-22 22:23:01 +04:00
|
|
|
|
2005-09-28 21:06:16 +04:00
|
|
|
<hr />
|
|
|
|
<form method="get" action="[jump_rev_action]">
|
|
|
|
<table cellspacing="1" cellpadding="2">
|
|
|
|
<tr align="left">
|
2004-09-14 12:49:32 +04:00
|
|
|
<th>Jump to revision:</th>
|
2003-10-24 23:27:02 +04:00
|
|
|
<td>
|
|
|
|
[jump_rev_hidden_values]
|
2005-10-14 19:33:35 +04:00
|
|
|
<input type="text" name="rev" value="[rev]" />
|
2005-09-28 21:06:16 +04:00
|
|
|
<input type="submit" value="Go" />
|
2004-04-28 18:53:22 +04:00
|
|
|
[if-any prev_href]
|
2005-09-28 21:06:16 +04:00
|
|
|
<a href="[prev_href]"><img src="[docroot]/images/back.png" alt="Previous" width="20" height="22" /></a>[end]
|
|
|
|
[if-any next_href] <a href="[next_href]"><img src="[docroot]/images/forward.png" width="20" height="22" alt="Next" /></a>[end]
|
2003-10-24 23:27:02 +04:00
|
|
|
</td>
|
|
|
|
</tr>
|
2005-09-28 21:06:16 +04:00
|
|
|
<tr align="left">
|
2003-10-24 23:27:02 +04:00
|
|
|
<th>Author:</th>
|
|
|
|
<td>[author]</td>
|
|
|
|
</tr>
|
2005-09-28 21:06:16 +04:00
|
|
|
<tr align="left">
|
2003-10-24 23:27:02 +04:00
|
|
|
<th>Date:</th>
|
2005-10-17 23:50:20 +04:00
|
|
|
<td>[date] <em>([ago] ago)</em></td>
|
2003-10-24 23:27:02 +04:00
|
|
|
</tr>
|
|
|
|
</table>
|
2005-09-28 21:06:16 +04:00
|
|
|
</form>
|
2003-10-24 23:27:02 +04:00
|
|
|
|
2005-09-28 21:06:16 +04:00
|
|
|
<p><strong>Log Message:</strong></p>
|
2004-07-22 14:08:29 +04:00
|
|
|
<pre class="vc_log">[log]</pre>
|
2003-10-22 22:23:01 +04:00
|
|
|
|
2005-09-28 21:06:16 +04:00
|
|
|
<hr />
|
2003-10-22 22:23:01 +04:00
|
|
|
|
2005-09-28 21:06:16 +04:00
|
|
|
<p><strong>Changed paths:</strong></p>
|
|
|
|
<table cellspacing="1" cellpadding="2">
|
2004-07-23 13:55:50 +04:00
|
|
|
<thead>
|
2005-09-28 21:06:16 +04:00
|
|
|
<tr align="left">
|
2004-05-12 05:46:43 +04:00
|
|
|
<th class="vc_header_sort">Path</th>
|
2005-10-11 00:22:59 +04:00
|
|
|
<th class="vc_header">Details</th>
|
2003-10-22 22:23:01 +04:00
|
|
|
</tr>
|
2004-07-23 13:55:50 +04:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
2003-10-22 22:23:01 +04:00
|
|
|
[if-any changes]
|
2005-10-11 00:22:59 +04:00
|
|
|
[for changes]
|
|
|
|
<tr class="vc_row_[if-index changes even]even[else]odd[end]">
|
2005-10-11 20:58:11 +04:00
|
|
|
<td>[if-any changes.view_href]<a href="[changes.view_href]">[end]<img src="[docroot]/images/[is changes.pathtype "dir"]dir[else]text[end].png" width="16" height="16" alt="Directory" />[changes.filename][is changes.pathtype "dir"]/[end][if-any changes.view_href]</a>[end]
|
2005-10-11 00:22:59 +04:00
|
|
|
[if-any changes.is_copy]<br /><em>(Copied from [changes.base_path], r[changes.base_rev])</em>[end]
|
|
|
|
</td>
|
|
|
|
<td>[if-any changes.log_href]<a href="[changes.log_href]">[end][changes.action][if-any changes.log_href]</a>[end]
|
|
|
|
[if-any changes.text_mods], [if-any changes.diff_href]<a href="[changes.diff_href]">[end]text changed[if-any changes.diff_href]</a>[end][end]
|
|
|
|
[if-any changes.prop_mods], props changed[end]
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
[end]
|
2003-10-22 22:23:01 +04:00
|
|
|
[else]
|
|
|
|
<tr>
|
|
|
|
<td colspan="5">No changed paths.</td>
|
|
|
|
</tr>
|
|
|
|
[end]
|
2004-07-23 13:55:50 +04:00
|
|
|
</tbody>
|
2003-10-22 22:23:01 +04:00
|
|
|
</table>
|
2003-10-22 00:04:30 +04:00
|
|
|
|
Some bug fixes as suggested (in great detail, just short of a patch)
by Dirk Lemstra <dirk.lemstra@atosorigin.com>. Also, add some stuff
to the generally-available-to-all-templates dataset. And finally,
re-work all the templates for consistent look and feel.
I can die now.
* viewcvs/lib/viewcvs.py
(common_template_data): Expose the 'where', 'roottype', and
'rootname' Request members, and the 'nav_path', to all views.
Also, do the root selection stuffs ('roots', 'change_root_action',
'change_root_hidden_values').
(nav_header_data): No longer explicitly add 'nav_path' to the data
dictionary.
(_dir_url): For Subversion, supply the revision number to the
generated links.
(view_directory): Include the revision when generating log view
URLs. Also, expose a 'tree_rev_href' data item for linking to the
revision view. No longer explicitly add 'roottype', 'where', and
'current_root' to the data dictionary. No longer do the root
selection stuff here, either.
(view_log): No longer explicitly add 'roottype', 'where', and
'current_root' to the data dictionary.
(human_readable_diff): No longer explicitly add 'where' to the data
dictionary.
(view_markup, view_revision): No longer explicitly add 'roottype' to
the data dictionary.
* viewcvs/website/upgrading.html
Document the changes.
* viewcvs/website/help_rootview.html
Add a missing "<br>".
* viewcvs/templates/annotate.ezt
* viewcvs/templates/graph.ezt
* viewcvs/templates/log.ezt
* viewcvs/templates/log_table.ezt
* viewcvs/templates/markup.ezt
* viewcvs/templates/query.ezt
* viewcvs/templates/revision.ezt
* viewcvs/templates/include/dir_header.ezt
* viewcvs/templates/include/footer.ezt
* viewcvs/templates/include/header.ezt
Beat the heck outta these templates until they all reference
header.ezt and footer.ezt (except for error.ezt), and they all
present a basically consistent interface across all views.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@835 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-04-22 19:40:01 +04:00
|
|
|
[include "include/footer.ezt"]
|