[ 
https://issues.apache.org/jira/browse/HDFS-9629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15106432#comment-15106432
 ] 

Xiao Chen commented on HDFS-9629:
---------------------------------

Thanks [~ajisakaa] for the comment and suggestion!
bq. can we add a parameter and use this value instead of changing 5 files every 
year?
Patch 3 attached works this way. A static js file is loaded into those 5 htmls, 
populating the year info from a variable. The variable itself is still hard 
coded, so we still need to change that every year. I didn't find a good 
existing js to do this, so created a new file. I'm not very knowledgable on 
html/javascript though, so please advice if you think we can do better.

Maybe we can setup a jenkins job to run yearly and commit the year info? But if 
this is the only thing to update I guess it's probably an overkill.....

> Update the footer of Web UI to show year 2016
> ---------------------------------------------
>
>                 Key: HDFS-9629
>                 URL: https://issues.apache.org/jira/browse/HDFS-9629
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Xiao Chen
>            Assignee: Xiao Chen
>              Labels: supportability
>         Attachments: HDFS-9629.01.patch, HDFS-9629.02.patch, 
> HDFS-9629.03.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to