Skip to content

Commit

Permalink
Fix bugs created by built-in removal (#28) (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcantelon authored Dec 8, 2023
1 parent 89d6466 commit aa95805
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions AIPscan/Aggregator/templates/storage_service.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
<tr><td width=20%><strong>Download offset</strong></td><td>{{ storage_service.download_offset}}</td></tr>
<tr><td width=20%><strong>Default service</strong></td><td>{{ storage_service.default}}</td></tr>
</table>
<a href="{{ url_for('aggregator.edit_storage_service', id=storage_service.id) }}"><button type="button" class="btn btn-info">Edit</button></a>
<a href="{{ url_for('aggregator.delete_storage_service', id=storage_service.id) }}"><button type="button" class="btn btn-danger">Delete</button></a>
<a href="{{ url_for('aggregator.edit_storage_service', storage_service_id=storage_service.id) }}"><button type="button" class="btn btn-info">Edit</button></a>
<a href="{{ url_for('aggregator.delete_storage_service', storage_service_id=storage_service.id) }}"><button type="button" class="btn btn-danger">Delete</button></a>
{% if mets_fetch_jobs %}
<a href="{{ url_for('reporter.view_aips', storage_service_id=storage_service.id) }}"><button type="button" class="btn btn-success">View AIPs</button></a>
{% endif %}
Expand Down Expand Up @@ -73,7 +73,7 @@
</td>
<td>{{ mets_fetch_job.aips|length }}</td>
<td>
<a href="{{ url_for('aggregator.delete_fetch_job', id= mets_fetch_job.id) }}"><button type="button" class="btn btn-danger">Delete</button></a>
<a href="{{ url_for('aggregator.delete_fetch_job', fetch_job_id=mets_fetch_job.id) }}"><button type="button" class="btn btn-danger">Delete</button></a>
</td>
</tr>
{% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion AIPscan/Reporter/templates/aip.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<strong>AIP: {{ aip.transfer_name }}-{{ aip.uuid }}</strong>
<br>
Storage service:
<a href="{{ url_for('aggregator.storage_service', id=storage_service.id) }}">
<a href="{{ url_for('aggregator.storage_service', storage_service_id=storage_service.id) }}">
{{ storage_service.name }}
</a>
(<a href="{{ url_for('reporter.view_aips', storage_service_id=storage_service.id) }}">
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ To start up Celery workers that are ready to receive tasks from RabbitMQ:
* Navigate to the AIPscan root project directory.
* Activate the Python virtualenv in the AIPscan project directory so that the
Celery dependency gets automatically loaded: `source venv/bin/activate`
* Enter the following command:
`celery worker -A AIPscan.worker.celery --loglevel=info`
* Enter the following command:
`celery -A AIPscan.worker.celery worker --loglevel=info`
* You should see terminal output similar to this to indicate that the Celery
task queue is ready:

Expand Down

0 comments on commit aa95805

Please sign in to comment.