After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 773942 - Update copyright's year in mail.g.o archives
Update copyright's year in mail.g.o archives
Status: RESOLVED FIXED
Product: sysadmin
Classification: Infrastructure
Component: Mailman
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Sysadmins
GNOME Sysadmins
Depends on:
Blocks:
 
 
Reported: 2016-11-04 13:10 UTC by Tom Tryfonidis
Modified: 2016-11-24 13:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Make copyright's year dynamic (9.36 KB, patch)
2016-11-04 13:10 UTC, Tom Tryfonidis
none Details | Review
Make use of a global footer resource file (66.49 KB, patch)
2016-11-04 13:27 UTC, Tom Tryfonidis
none Details | Review
Use a global resource file for footer (67.54 KB, patch)
2016-11-15 17:18 UTC, Tom Tryfonidis
none Details | Review

Description Tom Tryfonidis 2016-11-04 13:10:57 UTC
Created attachment 339120 [details] [review]
Make copyright's year dynamic

The copyright's year on footer gets out of date every year.

This patch makes the year dynamic using a js script. Also tested on mail.gnome.org and git.gnome.org.
Comment 1 Tom Tryfonidis 2016-11-04 13:27:38 UTC
Created attachment 339121 [details] [review]
Make use of a global footer resource file

A better solution for this issue, is to use a separate resource file for the footer and import it to the base.rc

Reference: https://www.mhonarc.org/release/MHonArc/2.6.3/doc/commontasks.html#layout

I have a patch using this method but it's totally untested, also i'm not quite sure where to use the defined variable. Per resource files or in the footer.rc using the appropriate tags for each page (thread page, messages page etc.).
Comment 2 Tom Tryfonidis 2016-11-15 17:18:47 UTC
Created attachment 339951 [details] [review]
Use a global resource file for footer

Reworked patch based on mhonarc's documentation.

I also tested both patches locally and work without any issues.
Comment 3 Andrea Veri 2016-11-24 13:19:55 UTC
Merged, thanks!