浏览代码

Adds autolinks toggle to hover settings UI

main
Eric Amodio 2 年前
父节点
当前提交
059b60a8f3
共有 1 个文件被更改,包括 40 次插入0 次删除
  1. +40
    -0
      src/webviews/apps/settings/partials/hovers.html

+ 40
- 0
src/webviews/apps/settings/partials/hovers.html 查看文件

@ -22,6 +22,46 @@
</div>
</div>
<div class="section__group">
<div class="section__content">
<div class="settings settings--fixed">
<div class="setting" data-enablement="hovers.enabled">
<div class="setting__input">
<input
id="hovers.autolinks.enabled"
name="hovers.autolinks.enabled"
type="checkbox"
data-setting
disabled
/>
<label for="hovers.autolinks.enabled">Show autolinks in commit messages</label>
</div>
</div>
<div class="settings settings--fixed ml-2">
<div
class="setting"
data-enablement="hovers.enabled &amp; hovers.autolinks.enabled"
>
<div class="setting__input">
<input
id="hovers.autolinks.enhanced"
name="hovers.autolinks.enhanced"
type="checkbox"
data-setting
disabled
/>
<label for="hovers.autolinks.enhanced">Enhance autolink details</label>
</div>
<p class="setting__hint">
Requires a connection to a supported remote service (e.g. GitHub)
</p>
</div>
</div>
</div>
</div>
</div>
<div class="setting" data-enablement="hovers.enabled">
<div class="setting__input">
<input

正在加载...
取消
保存