Skip to content

Commit

Permalink
tmp fix DO NOT MERGE
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjwebb committed Nov 7, 2024
1 parent 62e84cb commit 435959d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dashboard/templates/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h3 class="panel-title">File Sizes</h3>
<tbody>
{% for package, activities in current_stats.inverted_file.activities.items() %}
<tr>
<td class="break"><a href="{{ url("dash-headlines-publisher-detail", args=[func.dataset_to_publisher(package[:-4])]) }}">{{ publisher_name[func.dataset_to_publisher(package[:-4])] }}</a></td>
<td class="break"><a href="FIXME">{{ publisher_name[func.dataset_to_publisher(package[:-4])] }}</a></td>
<td class="break"><a href="http://iatiregistry.org/dataset/{{ package[:-4] }}">{{ package[:-4] }}</a></td>
<td>{{ activities }}</td>
<td>{{ current_stats.inverted_file.organisations.get(package) }}</td>
Expand Down
4 changes: 1 addition & 3 deletions dashboard/ui/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
github_issues,
get_publisher_stats,
MAJOR_VERSIONS,
metadata,
publisher_name,
publishers_ordered_by_title,
is_valid_element_or_attribute,
Expand Down Expand Up @@ -162,9 +161,8 @@ def _make_context(page_name: str):
github_issues=github_issues,
MAJOR_VERSIONS=MAJOR_VERSIONS,
expected_versions=vars.expected_versions,
metadata=metadata,
slugs=slugs,
datetime_data=dateutil.parser.parse(metadata['created_at']).strftime('%-d %B %Y (at %H:%M %Z)'),
datetime_data="FIXME",
current_year=datetime.datetime.now(datetime.UTC).year,
stats_url='https://stats.codeforiati.org',
stats_gh_url=STATS_GH_URL,
Expand Down

0 comments on commit 435959d

Please sign in to comment.