View | Details | Raw Unified | Return to bug 38010
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorInterfaces.vue (-3 / +15 lines)
Lines 30-36 Link Here
30
            </li>
30
            </li>
31
            <li v-if="vi.password">
31
            <li v-if="vi.password">
32
                <label>{{ $__("Password") }}:</label>
32
                <label>{{ $__("Password") }}:</label>
33
                <span>
33
34
                <a
35
                    href="#"
36
                    @click="showPassword = !showPassword"
37
                    v-if="!showPassword"
38
                >
39
                    <i class="fa fa-eye"></i>
40
                    {{ $__("Show password") }}
41
                </a>
42
                <span v-if="showPassword">
34
                    {{ vi.password }}
43
                    {{ vi.password }}
35
                </span>
44
                </span>
36
            </li>
45
            </li>
Lines 142-148 Link Here
142
151
143
<script>
152
<script>
144
import { inject } from "vue";
153
import { inject } from "vue";
145
import { storeToRefs } from "pinia";
146
import ToolbarButton from "../ToolbarButton.vue";
154
import ToolbarButton from "../ToolbarButton.vue";
147
155
148
export default {
156
export default {
Lines 158-163 export default { Link Here
158
            authorisedValues,
166
            authorisedValues,
159
        };
167
        };
160
    },
168
    },
169
    data() {
170
        return {
171
            showPassword: false,
172
        };
173
    },
161
    methods: {
174
    methods: {
162
        addInterface() {
175
        addInterface() {
163
            this.vendor.interfaces.push({
176
            this.vendor.interfaces.push({
164
- 

Return to bug 38010