js:wrap_issue

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
js:wrap_issue [2025/01/10 16:26] avillepreuxjs:wrap_issue [2025/01/10 16:49] (Version actuelle) avillepreux
Ligne 2: Ligne 2:
 <CSS> <CSS>
 .redmine-issue:before, .redmine-issues li:before { content: ""; display: inline-block; background-image: url(https://redmine.cyanide-studio.com/favicon.ico); width: 16px; height: 16px; background-size: cover; vertical-align: middle; } .redmine-issue:before, .redmine-issues li:before { content: ""; display: inline-block; background-image: url(https://redmine.cyanide-studio.com/favicon.ico); width: 16px; height: 16px; background-size: cover; vertical-align: middle; }
-.redmine-issues li { list-item: none }+.redmine-issues ul { padding-inline: 0 } 
 +.redmine-issues li { list-style: none }
 </CSS> </CSS>
 +
 <JS> <JS>
  
Ligne 46: Ligne 48:
  
       var url = "https://web.cyanide-studio.com/wikissue/?key=c85f4132505c0744ce4273e64b739f87&version_found=" + version + "&format=html";       var url = "https://web.cyanide-studio.com/wikissue/?key=c85f4132505c0744ce4273e64b739f87&version_found=" + version + "&format=html";
 +      
 +      wrap.html("Please wait...");
 +
 +      jQuery.ajax({
 +
 +        url:        url,
 +        context:    wrap,
 +        async:      true,
 +        success:    function(html) {
 +
 +   this.addClass("redmine-issues");
 +          this.html("<p><strong>" + version + "</strong></p>" + html);
 +          console.log("CYA BUGS BY VERSION", "Auto Redmine bugs by found version", version);
 +        }
 +      });
 +
 +  });
 +  
 +  
 +  
 +  jQuery(".plugin_wrap.wrap_version_fixed_bugs").each(function() {
 +  
 +    var wrap    = jQuery(this);
 +    var version = wrap.attr("id");
 +    
 +    console.log("CYA ISSUES BY fixed VERSION", "fixed Version", version);
 +
 +      var url = "https://web.cyanide-studio.com/wikissue/?key=c85f4132505c0744ce4273e64b739f87&version_fixed=" + version + "&format=html";
 +      
 +      wrap.html("Please wait...");
  
       jQuery.ajax({       jQuery.ajax({
Ligne 55: Ligne 87:
  
    this.addClass("redmine-issues");    this.addClass("redmine-issues");
-          this.html(html); +          this.html("<p><strong>" + version + "</strong></p>"html); 
-          console.log("CYA BUGS BY VERSION", "Auto Redmine bugs by found version", version, html);+          console.log("CYA BUGS BY VERSION", "Auto Redmine bugs by fixed version", version);
         }         }
       });       });
  • js/wrap_issue.1736522783.txt.gz
  • Dernière modification : 2025/01/10 16:26
  • de avillepreux