Skip to content

Commit

Permalink
Add make view profile button
Browse files Browse the repository at this point in the history
  • Loading branch information
pxwxnvermx committed Nov 26, 2024
1 parent 98e848c commit e4deacd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commcare_connect/opportunity/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def render_view_profile(self, record):
"opportunity:user_profile",
kwargs={"org_slug": self.org_slug, "opp_id": record.opportunity.id, "pk": record.opportunity_access_id},
)
return format_html('<a href="{}">View Profile</a>', url)
return format_html('<a class="btn btn-primary btn-sm" href="{}">View Profile</a>', url)

def render_started_learning(self, record, value):
return date_with_time_popup(self, value)
Expand Down

0 comments on commit e4deacd

Please sign in to comment.