kopia lustrzana https://github.com/magicbug/Cloudlog
Merge pull request #2045 from m0urs/105-display-notes-tab-in-qso-data-view-if-a-note-exists-for-a-qso
Show Notes tab in "QSO data" view if a note existspull/2028/head
commit
e43e4616ae
|
@ -9,6 +9,12 @@
|
|||
<a id="station-tab" class="nav-link" data-toggle="tab" href="#stationdetails" role="tab" aria-controls="table" aria-selected="true"><?php echo $this->lang->line('cloudlog_station_profile'); ?></a>
|
||||
</li>
|
||||
<?php
|
||||
if ($row->COL_NOTES != null) {?>
|
||||
<li class="nav-item">
|
||||
<a id="notes-tab" class="nav-link" data-toggle="tab" href="#notesdetails" role="tab" aria-controls="table" aria-selected="true"><?php echo "Notes"; ?></a>
|
||||
</li>
|
||||
<?php }?>
|
||||
<?php
|
||||
if (($this->config->item('use_auth')) && ($this->session->userdata('user_type') >= 2)) {
|
||||
|
||||
echo '<li ';
|
||||
|
@ -439,6 +445,11 @@
|
|||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tab-pane fade" id="notesdetails" role="tabpanel" aria-labelledby="table-tab">
|
||||
<h3>Notes</h3>
|
||||
<?php echo nl2br($row->COL_NOTES); ?>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if (($this->config->item('use_auth')) && ($this->session->userdata('user_type') >= 2)) {
|
||||
?>
|
||||
|
|
Ładowanie…
Reference in New Issue