Skip to content

Commit

Permalink
changed apply to role visibility to users-only
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanCLynch committed Mar 13, 2019
1 parent 98ecfa6 commit fc369a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.emergence
.data
8 changes: 5 additions & 3 deletions html-templates/projects/project.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,11 @@
{$Role->Role}
</td>
<td style="text-align:right">
<a href="role_application" data-toggle="modal" data-role="{$Role->ID}" data-role_name="{$Role->Role}" data-role_title="{$Project->Title} -- {$Role->Role}" title="Apply" style="margin-left: 4px">
<span class="glyphicon glyphicon-ok"></span>
</a>
{if $.User}
<a href="role_application" data-toggle="modal" data-role="{$Role->ID}" data-role_name="{$Role->Role}" data-role_title="{$Project->Title} -- {$Role->Role}" title="Apply" style="margin-left: 4px">
<span class="glyphicon glyphicon-ok"></span>
</a>
{/if}
{if $.Session->hasAccountLevel('Staff')}
<a href="role" data-toggle="modal" data-role_id="{$Role->ID}" data-role_name="{$Role->Role}" data-role_description="{$Role->Description}" data-role_person="{$Person->Username}" title="Edit Role" style="margin-left: 4px">
<span class="glyphicon glyphicon-edit"></span>
Expand Down

0 comments on commit fc369a5

Please sign in to comment.