Skip to content
Snippets Groups Projects
Commit bee1db29 authored by Jan Mach's avatar Jan Mach
Browse files

Added deprecated text to CSV report attachment download link.

Regenerated translations. (Redmine issue: #3387)
parent ab2d2092
No related branches found
No related tags found
No related merge requests found
...@@ -247,7 +247,7 @@ class ShowView(HTMLMixin, SQLAlchemyMixin, ItemShowView): ...@@ -247,7 +247,7 @@ class ShowView(HTMLMixin, SQLAlchemyMixin, ItemShowView):
'endpoint', 'endpoint',
'more.downloadcsv', 'more.downloadcsv',
endpoint = 'reports.data', endpoint = 'reports.data',
title = lazy_gettext('Download data in CSV format'), title = lazy_gettext('Download data in CSV format (deprecated)'),
url = lambda **x: flask.url_for('reports.data', fileid = x['item'].label, filetype = 'csv'), url = lambda **x: flask.url_for('reports.data', fileid = x['item'].label, filetype = 'csv'),
hidelegend = True hidelegend = True
) )
...@@ -264,7 +264,7 @@ class ShowView(HTMLMixin, SQLAlchemyMixin, ItemShowView): ...@@ -264,7 +264,7 @@ class ShowView(HTMLMixin, SQLAlchemyMixin, ItemShowView):
'endpoint', 'endpoint',
'more.downloadcsvzip', 'more.downloadcsvzip',
endpoint = 'reports.data', endpoint = 'reports.data',
title = lazy_gettext('Download compressed data in CSV format'), title = lazy_gettext('Download compressed data in CSV format (deprecated)'),
url = lambda **x: flask.url_for('reports.data', fileid = x['item'].label, filetype = 'csvzip'), url = lambda **x: flask.url_for('reports.data', fileid = x['item'].label, filetype = 'csvzip'),
icon = 'action-download-zip', icon = 'action-download-zip',
hidelegend = True hidelegend = True
......
This diff is collapsed.
...@@ -20,4 +20,4 @@ open-source project. ...@@ -20,4 +20,4 @@ open-source project.
__author__ = "Jan Mach <jan.mach@cesnet.cz>" __author__ = "Jan Mach <jan.mach@cesnet.cz>"
__credits__ = "Pavel Kácha <pavel.kacha@cesnet.cz>, Andrea Kropáčová <andrea.kropacova@cesnet.cz>" __credits__ = "Pavel Kácha <pavel.kacha@cesnet.cz>, Andrea Kropáčová <andrea.kropacova@cesnet.cz>"
__version__ = "2.7.0" __version__ = "2.7.1"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment