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-01-14 06:40:55 +03:00
|
|
|
[define page_title]Log of /[where][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
|
|
|
[define help_href][docroot]/help_log.html[end]
|
|
|
|
[# end]
|
|
|
|
|
|
|
|
[include "include/header.ezt" "log"]
|
2005-01-14 08:20:46 +03:00
|
|
|
[include "include/file_header.ezt"]
|
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
|
|
|
|
2005-09-28 21:06:16 +04:00
|
|
|
<hr />
|
2001-10-21 02:51:56 +04:00
|
|
|
|
2004-10-19 18:46:35 +04:00
|
|
|
[include "include/branch.ezt"]
|
|
|
|
[include "include/view_tag.ezt"]
|
2002-02-01 06:29:25 +03:00
|
|
|
[include "include/paging.ezt"]
|
2001-12-31 07:39:34 +03:00
|
|
|
|
2001-10-21 10:54:51 +04:00
|
|
|
[for entries]
|
2005-09-28 21:06:16 +04:00
|
|
|
<div>
|
|
|
|
<hr />
|
2001-10-21 10:54:51 +04:00
|
|
|
|
2003-07-03 10:20:24 +04:00
|
|
|
[is roottype "svn"]
|
2005-09-28 21:06:16 +04:00
|
|
|
[is entries.filename where][else]Filename: [entries.filename]<br />[end]
|
2003-07-03 10:20:24 +04:00
|
|
|
[end]
|
|
|
|
|
2001-10-21 10:54:51 +04:00
|
|
|
[is entries.state "dead"]
|
2005-09-28 21:06:16 +04:00
|
|
|
Revision <strong>[entries.rev]</strong>
|
2001-10-21 10:54:51 +04:00
|
|
|
[else]
|
|
|
|
<a name="rev[entries.rev]"></a>
|
|
|
|
[for entries.tag_names]<a name="[entries.tag_names]"></a>
|
|
|
|
[end]
|
|
|
|
[for entries.branch_names]<a name="[entries.branch_names]"></a>
|
|
|
|
[end]
|
|
|
|
|
2005-09-28 21:06:16 +04:00
|
|
|
Revision [is roottype "svn"]<a href="[entries.revision_href]"><strong>[entries.rev]</strong></a>[else]<strong>[entries.rev]</strong>[end]
|
2004-05-10 19:37:11 +04:00
|
|
|
[is pathtype "file"] -
|
2004-01-22 01:50:26 +03:00
|
|
|
(<a href="[entries.view_href]">view</a>)
|
|
|
|
(<a href="[entries.download_href]">download</a>)
|
|
|
|
[if-any entries.download_text_href](<a href="[entries.download_text_href]">as text</a>)[end]
|
2002-02-01 06:02:17 +03:00
|
|
|
[# if you don't want to allow annotation, then remove this line]
|
2005-09-24 00:15:08 +04:00
|
|
|
(<a href="[entries.annotate_href]">annotate</a>)
|
2001-10-21 10:54:51 +04:00
|
|
|
|
2004-05-10 19:37:11 +04:00
|
|
|
[# if you don't want to allow select for diffs then remove this section]
|
|
|
|
[is entries.rev rev_selected]
|
2005-09-28 21:06:16 +04:00
|
|
|
- <strong>[[]selected]</strong>
|
2004-05-10 19:37:11 +04:00
|
|
|
[else]
|
2004-07-23 15:28:30 +04:00
|
|
|
- <a href="[entries.sel_for_diff_href]">[[]select for diffs]</a>
|
2004-05-10 19:37:11 +04:00
|
|
|
[end]
|
2001-10-21 10:54:51 +04:00
|
|
|
[end]
|
|
|
|
[end]
|
|
|
|
|
|
|
|
[if-any entries.vendor_branch]
|
2005-09-28 21:06:16 +04:00
|
|
|
<em>(vendor branch)</em>
|
2001-10-21 10:54:51 +04:00
|
|
|
[end]
|
|
|
|
|
2005-09-28 21:06:16 +04:00
|
|
|
<br />
|
2003-07-03 10:20:24 +04:00
|
|
|
|
|
|
|
[is roottype "svn"]
|
2003-10-17 21:56:44 +04:00
|
|
|
[if-index entries last]Added[else]Modified[end]
|
2003-07-03 10:20:24 +04:00
|
|
|
[end]
|
|
|
|
|
2005-09-28 21:06:16 +04:00
|
|
|
<em>[entries.date_str]</em> ([entries.ago] ago) by <em>[entries.author]</em>
|
2001-10-21 10:54:51 +04:00
|
|
|
|
|
|
|
[if-any entries.branches]
|
2005-09-28 21:06:16 +04:00
|
|
|
<br />Branch:
|
2001-10-21 10:54:51 +04:00
|
|
|
[for entries.branches]
|
2005-09-28 21:06:16 +04:00
|
|
|
<a href="[entries.branches.href]"><strong>[entries.branches.name]</strong></a>[if-index entries.branches last][else],[end]
|
2001-10-21 10:54:51 +04:00
|
|
|
[end]
|
|
|
|
[end]
|
|
|
|
|
|
|
|
[if-any entries.tags]
|
2005-09-28 21:06:16 +04:00
|
|
|
<br />CVS Tags:
|
2001-10-21 10:54:51 +04:00
|
|
|
[for entries.tags]
|
2005-09-28 21:06:16 +04:00
|
|
|
<a href="[entries.tags.href]"><strong>[entries.tags.name]</strong></a>[if-index entries.tags last][else],[end]
|
2001-10-21 10:54:51 +04:00
|
|
|
[end]
|
|
|
|
[end]
|
|
|
|
|
|
|
|
[if-any entries.branch_points]
|
2005-09-28 21:06:16 +04:00
|
|
|
<br />Branch point for:
|
2001-10-21 10:54:51 +04:00
|
|
|
[for entries.branch_points]
|
2005-09-28 21:06:16 +04:00
|
|
|
<a href="[entries.branch_points.href]"><strong>[entries.branch_points.name]</strong></a>[if-index entries.branch_points last][else],[end]
|
2001-10-21 10:54:51 +04:00
|
|
|
[end]
|
|
|
|
[end]
|
|
|
|
|
|
|
|
[if-any entries.prev]
|
|
|
|
[if-any entries.changed]
|
2003-04-30 00:32:51 +04:00
|
|
|
[is roottype "cvs"]
|
2005-09-28 21:06:16 +04:00
|
|
|
<br />Changes since <strong>[entries.prev]: [entries.changed] lines</strong>
|
2003-04-30 00:32:51 +04:00
|
|
|
[end]
|
2001-10-21 10:54:51 +04:00
|
|
|
[end]
|
|
|
|
[end]
|
|
|
|
|
2003-06-26 23:54:13 +04:00
|
|
|
[is roottype "svn"]
|
|
|
|
[if-any entries.size]
|
2005-09-28 21:06:16 +04:00
|
|
|
<br />File length: [entries.size] byte(s)
|
2003-06-26 23:54:13 +04:00
|
|
|
[end]
|
2003-07-03 10:20:24 +04:00
|
|
|
|
|
|
|
[if-any entries.copy_path]
|
2005-09-28 21:06:16 +04:00
|
|
|
<br />Copied from: <a href="[entries.copy_href]">[entries.copy_path]</a> revision [entries.copy_rev]
|
2003-07-03 10:20:24 +04:00
|
|
|
[end]
|
2003-06-26 23:54:13 +04:00
|
|
|
[end]
|
|
|
|
|
2001-10-21 10:54:51 +04:00
|
|
|
[is entries.state "dead"]
|
2005-09-28 21:06:16 +04:00
|
|
|
<br /><strong><em>FILE REMOVED</em></strong>
|
2001-10-21 10:54:51 +04:00
|
|
|
[else]
|
2004-05-10 19:37:11 +04:00
|
|
|
[is pathtype "file"]
|
2001-10-21 10:54:51 +04:00
|
|
|
[if-any entries.prev]
|
2005-09-28 21:06:16 +04:00
|
|
|
<br />Diff to <a href="[entries.diff_to_prev_href]">previous [entries.prev]</a>
|
2001-10-21 10:54:51 +04:00
|
|
|
[if-any human_readable]
|
|
|
|
[else]
|
2004-07-24 20:34:04 +04:00
|
|
|
(<a href="[entries.diff_to_prev_href]&diff_format=h">colored</a>)
|
2001-10-21 10:54:51 +04:00
|
|
|
[end]
|
|
|
|
[end]
|
|
|
|
|
2003-10-15 20:42:02 +04:00
|
|
|
[is roottype "cvs"]
|
|
|
|
[if-any entries.branch_point]
|
2004-07-23 15:28:30 +04:00
|
|
|
, to <a href="[entries.diff_to_branch_href]">branch point [entries.branch_point]</a>
|
2003-10-15 20:42:02 +04:00
|
|
|
[if-any human_readable]
|
|
|
|
[else]
|
2004-07-24 20:34:04 +04:00
|
|
|
(<a href="[entries.diff_to_branch_href]&diff_format=h">colored</a>)
|
2003-10-15 20:42:02 +04:00
|
|
|
[end]
|
2001-10-21 10:54:51 +04:00
|
|
|
[end]
|
2003-10-15 20:42:02 +04:00
|
|
|
|
|
|
|
[if-any entries.next_main]
|
2004-07-23 15:28:30 +04:00
|
|
|
, to <a href="[entries.diff_to_main_href]">next main [entries.next_main]</a>
|
2003-10-15 20:42:02 +04:00
|
|
|
[if-any human_readable]
|
|
|
|
[else]
|
2004-07-24 20:34:04 +04:00
|
|
|
(<a href="[entries.diff_to_main_href]&diff_format=h">colored</a>)
|
2003-10-15 20:42:02 +04:00
|
|
|
[end]
|
2001-11-18 14:30:27 +03:00
|
|
|
[end]
|
|
|
|
[end]
|
2001-10-21 10:54:51 +04:00
|
|
|
|
2004-07-23 15:28:30 +04:00
|
|
|
[if-any entries.diff_to_sel_href]
|
2005-09-28 21:06:16 +04:00
|
|
|
[if-any entries.prev], [else]<br />Diff[end]
|
2004-07-23 15:28:30 +04:00
|
|
|
to <a href="[entries.diff_to_sel_href]">selected [rev_selected]</a>
|
2001-10-21 10:54:51 +04:00
|
|
|
[if-any human_readable]
|
|
|
|
[else]
|
2004-07-24 20:34:04 +04:00
|
|
|
(<a href="[entries.diff_to_sel_href]&diff_format=h">colored</a>)
|
2001-10-21 10:54:51 +04:00
|
|
|
[end]
|
|
|
|
[end]
|
2004-05-10 19:37:11 +04:00
|
|
|
[end]
|
2001-10-21 10:54:51 +04:00
|
|
|
[end]
|
|
|
|
|
2004-07-19 12:49:39 +04:00
|
|
|
<pre class="vc_log">[entries.html_log]</pre>
|
2005-09-28 21:06:16 +04:00
|
|
|
</div>
|
2001-10-21 10:54:51 +04:00
|
|
|
[end]
|
2002-02-01 06:29:25 +03:00
|
|
|
[include "include/paging.ezt"]
|
2001-10-21 15:06:25 +04:00
|
|
|
|
2004-05-10 19:37:11 +04:00
|
|
|
[is pathtype "file"]
|
|
|
|
[include "include/diff_form.ezt"]
|
|
|
|
[end]
|
2001-10-21 15:06:25 +04:00
|
|
|
|
2002-02-01 06:29:25 +03:00
|
|
|
[include "include/branch_form.ezt"]
|
2001-10-21 15:06:25 +04:00
|
|
|
|
2002-02-01 06:29:25 +03:00
|
|
|
[include "include/sort.ezt"]
|
2001-10-21 15:06:25 +04:00
|
|
|
|
2004-04-15 09:57:57 +04:00
|
|
|
[include "include/footer.ezt"]
|