Skip to content

Commit 6409ab7

Browse files
JacobCoffeeclaude
andcommitted
fix: clean up asset browser belongs-to column
Sponsor-level assets show "company-level" label instead of a Sponsor tag. Internal name no longer bold to avoid looking like a link. Sponsorship assets still link to their detail page with package and status tags. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 30df0ff commit 6409ab7

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

apps/sponsors/templates/sponsors/manage/asset_browser.html

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,12 @@ <h2>
8181
<tbody>
8282
{% for asset in group.assets %}
8383
<tr>
84-
<td style="font-weight:600;font-size:13px;">{{ asset.internal_name }}</td>
84+
<td style="font-size:13px;">{{ asset.internal_name }}</td>
8585
<td>
8686
<span class="tag tag-gray" style="font-size:10px;">{{ asset.polymorphic_ctype.name|title }}</span>
8787
</td>
8888
<td>
89-
{% if asset.owner_type == "sponsor" %}
90-
<span class="tag tag-blue" style="font-size:10px;">Sponsor</span>
91-
{% else %}
92-
{% if asset.resolved_owner %}
89+
{% if asset.owner_type == "sponsorship" and asset.resolved_owner %}
9390
<a href="{% url 'manage_sponsorship_detail' asset.resolved_owner.pk %}" style="text-decoration:none;">
9491
{% if asset.resolved_owner.package %}<span class="tag tag-gold" style="font-size:10px;">{{ asset.resolved_owner.package.name }}</span>{% endif %}
9592
{% if asset.resolved_owner.status == 'applied' %}<span class="tag tag-blue" style="font-size:10px;">Applied</span>
@@ -98,8 +95,7 @@ <h2>
9895
{% endif %}
9996
</a>
10097
{% else %}
101-
<span class="tag tag-gray" style="font-size:10px;">Sponsorship</span>
102-
{% endif %}
98+
<span style="color:#ccc;font-size:11px;">company-level</span>
10399
{% endif %}
104100
</td>
105101
<td style="text-align:center;">

0 commit comments

Comments
 (0)