| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 10 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | 13 | public function render() |
|
| 29 | { |
||
| 30 | 13 | $this->setType('file'); |
|
| 31 | |||
| 32 | 13 | $output = ''; |
|
| 33 | 13 | $output .= '<span class="btn btn-info fileinput-button">'; |
|
| 34 | 13 | $output .= '<i class="glyphicon glyphicon-plus"></i><span>' . trans('tinyissue.add_files') . '</span>'; |
|
| 35 | 13 | $output .= parent::render(); |
|
| 36 | 13 | $output .= '</span>'; |
|
| 37 | 13 | $output .= '<ul role="presentation" id="' . $this->name . '-queue" class="' . $this->name . '-queue"></ul>'; |
|
| 38 | 13 | $output .= '<ul id="' . $this->name . '-template" class="hidden">' . $this->queueTemplate() . '</ul>'; |
|
| 39 | |||
| 40 | 13 | return $output; |
|
| 41 | } |
||
| 42 | |||
| 63 |