hdoc-tools 0.9.21 → 0.9.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/ui/index.html +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hdoc-tools",
3
- "version": "0.9.21",
3
+ "version": "0.9.22",
4
4
  "description": "Hornbill HDocBook Development Support Tool",
5
5
  "main": "hdoc.js",
6
6
  "bin": {
package/ui/index.html CHANGED
@@ -99,14 +99,14 @@
99
99
  <i v-bind:class="{'bi bi-chevron-right': !asection.expand,'bi bi-chevron-down': asection.expand}" class="bi"></i>
100
100
  </div>
101
101
  </div>
102
- <a class="title-text">{{asection.text}}</a>
102
+ <a class="title-text"><i v-if="asection.draft" class="bi bi-exclamation-triangle-fill text-danger" title="This section is set to draft."></i> {{asection.text}}</a>
103
103
  </div>
104
104
  <div v-show="asection.expand && asection.items" v-for="(navSectionItem, index) in asection.items" class="items">
105
105
 
106
106
  <!-- if navSectionItem has no items show clickable link -->
107
107
  <div v-if="!navSectionItem.items">
108
108
  <a class="DocLink link noitems" v-bind:href="navSectionItem.link" v-bind:target="navSectionItem.target || ''" style="padding-left: 0px;">
109
- <span class="link-text">{{navSectionItem.text}} <i v-if="navSectionItem.target" class="bi bi-box-arrow-up-right"></i> </span>
109
+ <span class="link-text"><i v-if="navSectionItem.draft" class="bi bi-exclamation-triangle-fill text-danger" title="This page is set to draft."></i> {{navSectionItem.text}} <i v-if="navSectionItem.target" class="bi bi-box-arrow-up-right"></i> </span>
110
110
  </a>
111
111
  </div>
112
112