Skip to content

Commit

Permalink
change publish to share for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
jchate6 committed Oct 23, 2023
1 parent e5c3f9c commit 355830f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h4>Data</h4>
</td>
<td>
{% if sharing_destinations %}
<button type="button" class="btn btn-info" data-toggle="collapse" data-target="#share-{{ forloop.counter }}">Publish</button>
<button type="button" class="btn btn-info" data-toggle="collapse" data-target="#share-{{ forloop.counter }}">Share</button>
{% else %}
<p>Not Configured</p>
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% load tom_common_extras %}
<div class="card" style="margin-top:1rem; margin-bottom:1rem;">
<div class="card-header">
Publish Data for {{ target.name }}:
Share Data for {{ target.name }}:
</div>
{% if sharing_destinations %}
<form method="POST" action="{% url 'tom_dataproducts:share_all' tg_pk=target.id %}" enctype="multipart/form-data">
Expand Down
2 changes: 1 addition & 1 deletion tom_dataproducts/templatetags/dataproduct_extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def upload_dataproduct(context, obj):
@register.inclusion_tag('tom_dataproducts/partials/share_target_data.html', takes_context=True)
def share_data(context, target):
"""
Publish data to Hermes
Share data to Hermes or another TOM
"""

initial = {'submitter': context['request'].user,
Expand Down

0 comments on commit 355830f

Please sign in to comment.