You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by ne...@apache.org on 2022/10/31 09:22:11 UTC

[netbeans] branch delivery updated: hide template link as last resort if it appears to be broken.

This is an automated email from the ASF dual-hosted git repository.

neilcsmith pushed a commit to branch delivery
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/delivery by this push:
     new 4bc583fc5b hide template link as last resort if it appears to be broken.
     new 7d6544386c Merge pull request #4891 from mbien/hide-broken-template-link
4bc583fc5b is described below

commit 4bc583fc5b47cba72d831174667116a0790dc40f
Author: Michael Bien <mb...@gmail.com>
AuthorDate: Mon Oct 31 00:26:56 2022 +0100

    hide template link as last resort if it appears to be broken.
---
 .../src/org/netbeans/modules/project/ui/resources/license-default.txt   | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ide/projectui/src/org/netbeans/modules/project/ui/resources/license-default.txt b/ide/projectui/src/org/netbeans/modules/project/ui/resources/license-default.txt
index 487df23f96..8c54046ee9 100644
--- a/ide/projectui/src/org/netbeans/modules/project/ui/resources/license-default.txt
+++ b/ide/projectui/src/org/netbeans/modules/project/ui/resources/license-default.txt
@@ -1,4 +1,6 @@
 ${licenseFirst!""}
 ${licensePrefix}Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
+<#if !.data_model["org.openide.filesystems.FileObject"].getPath()?contains("{") >
 ${licensePrefix}Click nbfs://nbhost/SystemFileSystem/${.data_model["org.openide.filesystems.FileObject"].getPath()} to edit this template
+</#if>
 ${licenseLast!""}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists