Przeglądaj źródła

Adds autolinks toggle to hover settings UI

main
Eric Amodio 2 lat temu
rodzic
commit
059b60a8f3
1 zmienionych plików z 40 dodań i 0 usunięć
  1. +40
    -0
      src/webviews/apps/settings/partials/hovers.html

+ 40
- 0
src/webviews/apps/settings/partials/hovers.html Wyświetl plik

@ -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

Ładowanie…
Anuluj
Zapisz