Skip to content

Commit

Permalink
Merge pull request OctoPrint#4122 from cp2004/fix/random-files-span
Browse files Browse the repository at this point in the history
🐛 Remove random debug span
  • Loading branch information
foosel authored May 4, 2021
2 parents 6b11d0b + 8f77a8f commit 4842835
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/octoprint/templates/sidebar/files.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
<script type="text/html" id="files_template_machinecode">
<div class="btn btn-mini toggleAdditionalData pull-right" data-bind="click: function() { if ($root.enableAdditionalData($data)) { $root.toggleAdditionalData($data); } else { return; } }, css: { disabled: !$root.enableAdditionalData($data) }" title="{{ _('Additional data')|edq }}"><i class="fas fa-chevron-down"></i></div>
<div class="title clickable" data-bind="click: function() { if ($root.enableSelect($data)) { $root.loadFile($data, false); } else { return; } }, css: $root.getSuccessClass($data), style: { 'font-weight': $root.listHelper.isSelected($data) ? 'bold' : 'normal' }, text: display"></div>
<div class="internal" data-bind="visible: display && name != display && $root.showInternalFilename">{{ _('Internal') }}: <span data-bind="text: name"></span>
<span data-bind="text: $root.showInternalFilename"></span> </div>
<div class="internal" data-bind="visible: display && name != display && $root.showInternalFilename">{{ _('Internal') }}: <span data-bind="text: name"></span></div>
<div class="uploaded">{{ _('Uploaded') }}: <span data-bind="text: formatTimeAgo(date), attr: {title: formatDate(date)}"></span></div>
<div class="size">{{ _('Size') }}: <span data-bind="text: formatSize(size)"></span></div>
<div class="additionalInfo hide" data-bind="html: $root.getAdditionalData($data)"></div>
Expand Down

0 comments on commit 4842835

Please sign in to comment.