--- /dev/null
+<table ng-if="patches[version.id].retour == 'OK'">
+ <tr ng-if="patches[version.id].result.length > 0" ng-repeat="patch in patches[version.id].result">
+ <td class="col-lg-1" ng-if="(versionsFrom[patch.id] != null) && (versionFrom = versionsFrom[patch.id].result)">
+ Depuis version {{versionFrom.value}}
+ </td>
+ <td class="col-lg-3" ng-if="(versionsFrom[patch.id] != null) && (versionFrom = versionsFrom[patch.id].result)">
+ <a class="btn btn-info btn-download" download="{{patch.script_name}}" ng-href="{{patchesUrl[patch.id]}}">
+ <i class="fa fa-download fa-2x"></i>
+ <span>Télécharger</span>
+ </a>
+ <span class="btn btn-danger" ng-click="deletePatch(patch.id)">
+ <i class="fa fa-times fa-2x"></i>
+ <span>Supprimer</span>
+ </span>
+ </td>
+ </tr>
+</table>
+<span ng-if="patches[version.id].result.length == 0">
+ <span ng-show="!showAddForm">Aucun patch n'existe pour cette version.</span><br>
+ <span class="btn btn-success" ng-click="patchCreateLaunched()" ng-show="!showAddForm">
+ <i class="fa fa-plus fa-2x"></i>
+ <span>Nouveau patch</span>
+ </span>
+</span>
+<span ng-if="patches[version.id].retour == 'KO'" class="has-error">{{patches[version.id].message}}</span>
\ No newline at end of file