Skip to content

Commit

Permalink
Dont display a messaage about the kind of resource being displayed
Browse files Browse the repository at this point in the history
for the current team on non-resource pages.
  • Loading branch information
alexdryden committed May 7, 2021
1 parent b903464 commit 591cb55
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion view/teams/partial/team-selector.phtml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<div>
<form id="change_team" method="post" action=" <?php echo $this->url('admin/teams/current') ?>" >

<label for="team_options"> <?php echo sprintf('Showing %s for your current team: ', $this->resource_type) ?></label>
<?php if($this->resource_type){ ?>
<label for="team_options"> <?php echo sprintf('Showing %s for your current team: ', $this->resource_type) ?></label>

<?php } ?>
<input type="hidden" value="<?php echo $_SERVER["REQUEST_URI"]; ?>" name="return_url">
<select id="team_options" name="team_id" form="change_team">

Expand Down

0 comments on commit 591cb55

Please sign in to comment.