OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
@if (can('tickets.create') && !empty($newField))
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">{!! __('links.new_with_icon') !!} <span class="caret"></span></button>
|
||||
<ul class="dropdown-menu">
|
||||
@foreach ($newField as $option)
|
||||
<li>
|
||||
<a
|
||||
href="{{ !empty($option['url']) ? $option['url'] : '' }}"
|
||||
class="{{ !empty($option['class']) ? $option['class'] : '' }}"
|
||||
> {!! !empty($option['text']) ? __($option['text']) : '' !!}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
Reference in New Issue
Block a user