dat-ecosystem-archive / datBase

Open data sharing powered by Dat [ DEPRECATED - More info on active projects and modules at https://dat-ecosystem.org/ ]
http://datbase.org
244 stars 32 forks source link

Add last modified time #521

Closed okdistribute closed 7 years ago

okdistribute commented 7 years ago

Add a detail to the archive page that is 'last modified' which is simply a reduction of all the last modified to show the most recent time. For example, if we have three files:

hello.csv 3 months ago hola.csv 2 months ago goodbye.json 1 day ago

The archive would be 'updated 1 day ago'.

This was requested by the Data folks in the City government of Philadelphia

Kriesse commented 7 years ago

@karissa There's already style + markup for the last modified time, just no data (screenshot just shows data added via inspector). Can you help?

image

okdistribute commented 7 years ago

Hey @Kriesse sorry I wasn't clear enough. The style and markup work for individual files (folders don't have a last modified time). This issue is to have an overall last modified time for the archive.

Kriesse commented 7 years ago

@karissa Ah got it, thanks for clarifying!

Kriesse commented 7 years ago

Added a placeholder, looks like this but still needs real data:

image