Re: [viewvc-dev] Hiding Date Field
Amit Ruhela <[email protected]> Mon, 5 May 2014 12:21:56 +0530
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.devel |
|---|---|
| Message-ID | <CA+cC5LcUbXQY_iJ5qhD-S-XxPny-0si0H0i21XOaZko9LhccOg__18652.9446197257$1399403577$gmane$org@mail.gmail.com> |
------=_Part_808_575743214.1399272740078 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thanks Michael, I will definitely update you after doing the suggested changes. Regards, Amit Ruhela On Mon, May 5, 2014 at 11:43 AM, C. Michael Pilato <[email protected]>wrote: > 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> [entries.ago]</td> > > with this: > > <td> </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=3077547 To unsubscribe from this discussion, e-mail: [[email protected]]. ------=_Part_808_575743214.1399272740078 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><div>Thanks Michael,<br><br></div>I will definitely u= pdate you after doing the suggested changes.<br><br></div>Regards,<br>Amit = Ruhela<br><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote"> On Mon, May 5, 2014 at 11:43 AM, C. Michael Pilato <span dir=3D"ltr"><<a= href=3D"mailto:[email protected]" target=3D"_blank">[email protected]<= /a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:= 0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div><div>On 05/04/2014 04:50 AM, Amit Ruhela wrote:<br> > Dear Sir,<br> ><br> > Is it possible to disable the date field(when the file is committed la= st<br> > time in the CVS) while displaying files of my repository via ViewVC?<b= r> ><br> > Thanks and Regards,<br> > Amit Ruhela<br> <br> </div></div>Amit,<br> <br> There's no simple feature toggle for hiding/showing dates. =C2=A0Howeve= r, all<br> of ViewVC's displays are driven by EZT templates (found in the<br> "templates/" subdirectory of the install location, most of the ti= me).<br> You can certainly edit those files (which are just HTML files with<br> special placeholders for information) to remove the dates from your<br> ViewVC server's displays.<br> <br> For example, in directory.ezt, you might want to replace this text:<br> <br> =C2=A0 =C2=A0 =C2=A0 =C2=A0<td>&nbsp;[entries.ago]</td><br> <br> with this:<br> <br> =C2=A0 =C2=A0 =C2=A0 =C2=A0<td>&nbsp;</td><br> <br> Effectively, this "blanks out" the Date column of your directory = displays.<br> <br> Similar changes would need to be made in other template files. =C2=A0Search= <br> for "date" and "ago" in those EZT files, and make the e= dits you see fit.<br> <span><font color=3D"#888888"><br> --<br> C. Michael Pilato <<a href=3D"mailto:[email protected]" target=3D"_bla= nk">[email protected]</a>><br> CollabNet =C2=A0 <> =C2=A0 <a href=3D"http://www.collab.net" target= =3D"_blank">www.collab.net</a> =C2=A0 <> =C2=A0 Enterprise Cloud Deve= lopment<br> </font></span></blockquote></div><br></div></div> ------=_Part_808_575743214.1399272740078--