Skip to content

Commit cbc8488

Browse files
authored
Merge pull request #226 from qld-gov-au/QOLSVC-10616-ckan-2.11.3-appearance
[QOLSVC-10616] revert resource edit button to previous appearance
2 parents c808804 + 2c29442 commit cbc8488

5 files changed

Lines changed: 8 additions & 4 deletions

File tree

changes/8744.misc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Update CICD Infrastructure
2+
* Swap Code Coverage tool coveralls.io for codecov.io
3+
* Generate combined pytest report and coverage report's
4+
* Build Documentation and product doc's artifact

ckan/i18n/en_AU/LC_MESSAGES/ckan.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3304,7 +3304,7 @@ msgstr "username"
33043304

33053305
#: ckan/templates/user/new_user_form.html:11
33063306
msgid "Full Name"
3307-
msgstr "Displayed name"
3307+
msgstr "Displayed Name"
33083308

33093309
#: ckan/templates/user/new_user_form.html:37
33103310
msgid "Create Account"

ckan/logic/action/update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,8 @@ def package_update(
306306
model.Session.rollback()
307307
raise ValidationError(errors)
308308

309-
#avoid revisioning by updating directly
310309
if not resources_only:
310+
#avoid revisioning by updating directly
311311
model.Session.query(model.Package).filter_by(id=pkg.id).update(
312312
{"metadata_modified": datetime.datetime.utcnow()})
313313
model.Session.refresh(pkg)

ckan/templates/package/resource_read.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
{% block resource_actions_inner %}
3030
{% block action_manage %}
3131
{% if h.check_access('package_update', {'id':pkg.id }) %}
32-
<li>{% link_for _('Edit resource'), named_route=pkg.type ~ '_resource.edit', id=pkg.name, resource_id=res.id, class_='btn btn-default', icon='pencil' %}</li>
32+
<li>{% link_for _('Manage'), named_route=pkg.type ~ '_resource.edit', id=pkg.name, resource_id=res.id, class_='btn btn-default', icon='wrench' %}</li>
3333
{% block action_manage_inner %}{% endblock %}
3434
<li>{% link_for _('Views'), named_route=pkg.type ~ '_resource.views', id=pkg.name, resource_id=res.id, class_='btn btn-default', icon='chart-bar' %}</li>
3535
{% endif %}

test-core-ci.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This is the ini file used in the GitHub Actions workflow and the
1+
# This is the ini file used in the GitHub Actions workflow and the
22
# docker compose setup located in `test-infrastructure` that takes into
33
# account the different host names for the various services CKAN connects to
44

0 commit comments

Comments
 (0)