viewvc-4intranet/templates
cmpilato 3cbf07551b Finish issue #57 with more support for showing locked status.
* lib/vclib/__init__.py
  (Repository.dirlogs): Update comment.
  (Revision.__init__): Add 'lockinfo' parameter, used to populate
    similarly named class member.

* lib/vclib/svn/svn_repos.py
  (Revision.__init__): Add 'lockinfo' parameter, and update call to
    vclib.Revision().
  (_log_helper): Update call to Revision(), and lose custom lockinfo handling.
  (LocalSubversionRepository.dirlogs): Populate entry lockinfo with a
    call to svn_fs_get_lock() for each entry.

* lib/vclib/svn/svn_ra.py
  (LogCollector.__init__): Add 'lockinfo' parameter, used to populate
    similarly named class member.
  (LogCollector.add_log): Pass self.lockinfo to updated call to Revision().
  (RemoteSubversionRepository.itemlog): Pass lock info to
    LogCollector(), and lose custom lockinfo handling.
  (RemoteSubversionRepository.itemtype, RemoteSubversionRepository.listdir): 
    Update expected return value from _get_dirents().
  (RemoteSubversionRepository.dirlogs): Populate entry lockinfo from
    updated return value from _get_dirents().
  (RemoteSubversionRepository._get_dirents): Rework to trade in
    dirents and locks instead of only dirents.

* lib/vclib/ccvs/bincvs.py
  (Revision.__init__): Update call to vclib.Revision().
  (_get_logs): Add 'lockinfo' member to DirEntry() items.

* lib/vclib/ccvs/ccvs.py
  (InfoSink.__init__): Init lockinfo dictionary.
  (InfoSink.set_locker): New.
  (InfoSink.define_revision): Set lockinfo on Revision item.
  (InfoSink.set_revision_info): Populate DirEntry lockinfo from
    Revision lockinfo data.

* lib/viewvc.py
  (view_directory): Populate entry lockinfo.
  (common_template_data): Populate the 'lockinfo' data dictionary item.

* templates/directory.ezt,
* templates/dir_new.ezt
* templates/annotate.ezt,
* templates/markup.ezt
  Tweak to show lock status.

* docs/template-authoring-guide.html
  Note new data dictionary items.

git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1787 8cb11bc2-c004-0410-86c3-e597b4017df7
2008-02-12 21:06:40 +00:00
..
docroot Add support for display of locked status. 2008-02-12 19:41:19 +00:00
include Add an href to the root listing view to the common template data dictionary. 2008-01-10 19:21:26 +00:00
annotate.ezt Finish issue #57 with more support for showing locked status. 2008-02-12 21:06:40 +00:00
diff.ezt Finish issue #309: add links from diff view to revision views. 2007-07-26 20:56:10 +00:00
dir_new.ezt Finish issue #57 with more support for showing locked status. 2008-02-12 21:06:40 +00:00
directory.ezt Finish issue #57 with more support for showing locked status. 2008-02-12 21:06:40 +00:00
error.ezt * templates/error.ezt 2007-03-12 14:54:10 +00:00
graph.ezt This patch (mostly by Marten Thavenius) upgrades ViewCVS to XHTML 1.0 2005-09-28 17:06:16 +00:00
log.ezt Add support for display of locked status. 2008-02-12 19:41:19 +00:00
log_table.ezt Add support for display of locked status. 2008-02-12 19:41:19 +00:00
markup.ezt Finish issue #57 with more support for showing locked status. 2008-02-12 21:06:40 +00:00
query.ezt Um. Character entities in comments are somewhat pointless. Replace the ones 2006-03-06 20:01:11 +00:00
query_form.ezt Finish issue #22 - Query on Log Messages. 2007-01-23 16:22:40 +00:00
query_results.ezt Unify the allowable views configury, and all support for disabling the 2007-03-27 19:03:37 +00:00
revision.ezt Robustness fixes where empty or missing revision metadata occurs. 2007-02-26 19:28:48 +00:00
roots.ezt * templates/docroot/styles.css 2006-04-14 04:35:13 +00:00
rss.ezt Finish issue #307: RSS feeds should include a <channel><link> element. 2007-07-26 18:55:15 +00:00