Skip to content

Commit

Permalink
Adding access link.
Browse files Browse the repository at this point in the history
  • Loading branch information
julialawrence committed Nov 15, 2023
1 parent ae1d545 commit 013ce49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/templates/data_source_details.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ <h3>Assigned Users:</h3>
{% if is_admin or user_has_access %}
<!-- Button to launch VS Code -->
<button onclick="launchVSCode()">Launch VS Code</button>
<a href="{{ data_source.team_web_url }}" target="_blank">Access MS Teams Team</a>
{% else %}
<!-- Link to MS Teams team for users who are not admins and don't have access -->
<a href="https://teams.microsoft.com/l/team/{{ data_source.aad_group_id }}/conversations" target="_blank">Access MS Teams Team</a>
<a href="{{ data_source.team_web_url }}" target="_blank">Access MS Teams Team</a>
{% endif %}

<script type="text/javascript">
Expand Down

0 comments on commit 013ce49

Please sign in to comment.