Add view button back to history revisions
This commit is contained in:
parent
15924df4e2
commit
687b0f5ced
2 changed files with 11 additions and 4 deletions
|
@ -83,6 +83,7 @@ def history_data(name):
|
|||
item['DT_RowId'] = item['sha']
|
||||
date = datetime.fromtimestamp(item['time'])
|
||||
item['date'] = date.strftime(current_app.config.get('DATETIME_FORMAT', '%b %d, %Y %I:%M %p'))
|
||||
item['link'] = url_for('.commit', name=name, sha=item['sha'])
|
||||
total_records, hist_complete = page.history_cache
|
||||
if not hist_complete:
|
||||
# Force datatables to fetch more data when it gets to the end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue