[Search] Show Station Profile to all users when displaying search results

This commit is contained in:
Peter Goodhall
2021-03-20 16:15:03 +00:00
parent b5ed97869f
commit fb679a6117
3 changed files with 8 additions and 8 deletions

View File

@@ -1,5 +1,4 @@
<div class="table-responsive">
<div class="table-responsive">
<table class="table table-striped table-hover">
<tr class="titles">
<td>Date</td>

View File

@@ -114,13 +114,11 @@
</td>
<?php } ?>
<?php if($this->config->item('callsign_tags') == true) { ?>
<?php if(isset($row->station_callsign)) { ?>
<td>
<span class="badge badge-light"><?php echo $row->station_callsign; ?></span>
</td>
<?php } ?>
<?php } ?>
<td>
<div class="dropdown">

View File

@@ -19,7 +19,9 @@
<?php if($this->session->userdata('user_lotw_name') != "") { ?>
<td>LoTW</td>
<?php } ?>
<?php } ?>
<td><?php echo $this->lang->line('gen_hamradio_station'); ?></td>
<?php if(($this->config->item('use_auth')) && ($this->session->userdata('user_type') >= 2)) { ?>
<td></td>
<?php } ?>
</tr>
@@ -113,15 +115,16 @@
<?php } ?>
</td>
<?php } ?>
<?php if($this->config->item('callsign_tags') == true) { ?>
<?php } ?>
<?php if(isset($row->station_callsign)) { ?>
<td>
<span class="badge badge-light"><?php echo $row->station_callsign; ?></span>
</td>
<?php } ?>
<?php } ?>
<?php if(($this->config->item('use_auth')) && ($this->session->userdata('user_type') >= 2)) { ?>
<td>
<div class="dropdown">
<a class="btn btn-secondary dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">