Re: [viewvc-dev] Hiding Date Field

"C. Michael Pilato" <[email protected]> Mon, 05 May 2014 02:13:28 -0400
Newsgroups gmane.comp.version-control.cvs.viewcvs.devel
Organization CollabNet, Inc.
Message-ID <[email protected]>
On 05/04/2014 04:50 AM, Amit Ruhela wrote:
> Dear Sir,
> 
> Is it possible to disable the date field(when the file is committed last
> time in the CVS) while displaying files of my repository via ViewVC?
> 
> Thanks and Regards,
> Amit Ruhela

Amit,

There's no simple feature toggle for hiding/showing dates.  However, all
of ViewVC's displays are driven by EZT templates (found in the
"templates/" subdirectory of the install location, most of the time).
You can certainly edit those files (which are just HTML files with
special placeholders for information) to remove the dates from your
ViewVC server's displays.

For example, in directory.ezt, you might want to replace this text:

       <td>&nbsp;[entries.ago]</td>

with this:

       <td>&nbsp;</td>

Effectively, this "blanks out" the Date column of your directory displays.

Similar changes would need to be made in other template files.  Search
for "date" and "ago" in those EZT files, and make the edits you see fit.

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4251&dsMessageId=3077542

To unsubscribe from this discussion, e-mail: [[email protected]].