Skip to content

Commit

Permalink
use released version of superdesk and planning (#641)
Browse files Browse the repository at this point in the history
* use release for superdesk core and planning

* update reportlab version

* fix print report error

* fix failing test
  • Loading branch information
petrjasek authored Oct 27, 2023
1 parent 92d4acb commit c343d44
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions newsroom/news_api/news/atom/atom.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ def _format_update_date(date):
"assets.get_item",
asset_id=src.get("media"),
_external=True,
_scheme="https",
)
html_updated = True
if html_updated:
Expand Down
2 changes: 1 addition & 1 deletion newsroom/templates/reports_print.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h2 class="text-center">{{ data.get('name') }}</h2>
<script>
window.newsroom = {{ get_client_config() | tojson | safe }};
reportData = {{ data | tojson | safe }};
report = {{ report | tojson | safe }};
report = "{{ report | tojson | safe }}";
</script>

{{ javascript_tag('%s_js' % setting_type) | safe }}
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ python3-saml>=1.15,<1.16

# Fix an issue between xhtml2pdf v0.2.4 and reportlab v3.6.7
# https://github.com/xhtml2pdf/xhtml2pdf/issues/589
reportlab==3.6.6
reportlab>=3.6.11,<3.7

superdesk-core @ git+https://github.com/superdesk/superdesk-core.git@develop
superdesk-planning @ git+https://github.com/superdesk/superdesk-planning.git@develop
superdesk-core @ git+https://github.com/superdesk/superdesk-core.git@v2.7.0-rc1
superdesk-planning @ git+https://github.com/superdesk/superdesk-planning.git@v2.7.0-rc1

0 comments on commit c343d44

Please sign in to comment.