Procházet zdrojové kódy

fix feature request domain and path

CauseFX před 4 roky
rodič
revize
5c55d86348
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      js/functions.js

+ 2 - 2
js/functions.js

@@ -226,7 +226,7 @@ function updateIssueLink(line){
 	    let issueNumber = numberSplit[1].replace('(', '').replace(')', '');
 	    let issueWord = issueType.toLowerCase() == 'fr' ? '<i class="icon-arrow-up-circle"></i> feature' : '<i class="fa fa-github"></i> issue';
 	    let colorType = issueType.toLowerCase() == 'fr' ? 'label-info' : 'label-primary';
-	    let issueLink = issueType.toLowerCase() == 'fr' ? 'https://vote.organizr.app/suggestions/' + issueNumber : 'https://github.com/causefx/Organizr/issues/' + issueNumber;
+	    let issueLink = issueType.toLowerCase() == 'fr' ? 'https://feature.organizr.app/posts/' + issueNumber : 'https://github.com/causefx/Organizr/issues/' + issueNumber;
         issueLink = '<span class="label upgrade-label text-uppercase ' + colorType + ' label-rounded font-12 pull-right"><a class="text-white text-uppercase" href="' + issueLink + '" target="_blank">' + issueWord + '</a></span>';
         return line.replace(preNumber, issueLink);
     }else{
@@ -2797,7 +2797,7 @@ function menuExtras(active){
 			'type':1,
 			'group_id':1,
 			'name':'Feature Request',
-			'url':'https://vote.organizr.app',
+			'url':'https://feature.organizr.app',
 			'icon':'simpleline::arrow-up-circle',
 			'active':activeInfo.settings.menuLink.organizrFeatureRequestLink
 		}