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 exists
这个提交包含在:
当前提交
e43e4616ae
共有 1 个文件被更改,包括 11 次插入 和 0 次删除
|
|
@ -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>
|
<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>
|
</li>
|
||||||
<?php
|
<?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)) {
|
if (($this->config->item('use_auth')) && ($this->session->userdata('user_type') >= 2)) {
|
||||||
|
|
||||||
echo '<li ';
|
echo '<li ';
|
||||||
|
|
@ -439,6 +445,11 @@
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</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
|
<?php
|
||||||
if (($this->config->item('use_auth')) && ($this->session->userdata('user_type') >= 2)) {
|
if (($this->config->item('use_auth')) && ($this->session->userdata('user_type') >= 2)) {
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用