none
Customisation du contenu des mails de checkin pour voir les diffs RRS feed

Réponses

  • hum ça bouge pas des masses ici, mais j'ai fini par trouver la solution :  http://social.msdn.microsoft.com/Forums/en-US/tfsworkitemtracking/thread/315c6415-5503-4f18-a854-93c8565262da

    au cas ou le lien disparait copie ici : 

    -----------------

    Edit is the Checkin event portion of TeamFoundation.xsl. Follow the previous blog post's steps, but edit TeamFoundation.xsl instead.  Search for "Checkin event" in that file...it should look like:

    Code Snippet

    <!-- Checkin event -->
    <xsl:template name="CheckinEvent">
    <xsl:param name="CheckinEvent"/>
    <head>
        <title><xsl:value-of select="Title"/></title>
    <div class="Title">
    <xsl:call-template name="link">
      <xsl:with-param name="format" select="'html'"/>
      <xsl:with-param name="embolden" select="'true'"/>
      <xsl:with-param name="fontSize" select="'larger'"/>
      <xsl:with-param name="link" select="Artifacts/Artifact[@ArtifactType='Changeset']/Url"/>

     Replace the <xsl:with-param name="link" part with:

     Code Snippet

        
      <xsl:with-param name="link" select="concat(substring-before(Artifacts/Artifact[@ArtifactType='Changeset']/Url,
     ':8080/VersionControl/Changeset.aspx?artifactMoniker='),
     ':88/UI/Pages/Scc/ViewChangeset.aspx?changeset=',
     substring-after(Artifacts/Artifact[@ArtifactType='Changeset']/Url,'artifactMoniker='))"/>
      <xsl:with-param name="displayText" select="ContentTitle"/>

     Instead of 88, use whatever port your TSWA is running on.

    --------------------


    Arnaud
    • Marqué comme réponse Arnaud.L vendredi 12 juin 2009 09:08
    vendredi 12 juin 2009 09:08