Commit b3b3a1a1 authored by lepdou's avatar lepdou

change history type

parent 5410b4e8
...@@ -269,14 +269,6 @@ ...@@ -269,14 +269,6 @@
<!--历史修改视图--> <!--历史修改视图-->
<div class="J_historyview history-view" ng-show="namespace.viewType == 'history'"> <div class="J_historyview history-view" ng-show="namespace.viewType == 'history'">
<div class="text-right">
<span class="label label-primary change-type-mark">&nbsp;</span>
<small>新增&nbsp;</small>
<span class="label label-info change-type-mark">&nbsp;</span>
<small>更新&nbsp;</small>
<span class="label label-danger change-type-mark">&nbsp;</span>
<small>删除&nbsp;</small>
</div>
<div class="media" ng-repeat="commits in namespace.commits"> <div class="media" ng-repeat="commits in namespace.commits">
<div class="media-body"> <div class="media-body">
...@@ -311,8 +303,8 @@ ...@@ -311,8 +303,8 @@
<tr ng-repeat="item in commits.changeSets.createItems" <tr ng-repeat="item in commits.changeSets.createItems"
ng-show="item.key || item.comment"> ng-show="item.key || item.comment">
<td width="2%" title="新增的配置"> <td width="2%">
<span class="label label-primary change-type-mark">&nbsp;</span> 新增
</td> </td>
<td width="20%" title="{{item.key}}"> <td width="20%" title="{{item.key}}">
...@@ -331,8 +323,8 @@ ...@@ -331,8 +323,8 @@
</td> </td>
</tr> </tr>
<tr ng-repeat="item in commits.changeSets.updateItems"> <tr ng-repeat="item in commits.changeSets.updateItems">
<td width="2%" title="更新的配置"> <td width="2%">
<span class="label label-info change-type-mark">&nbsp;</span> 更新
</td> </td>
<td width="20%" title="{{item.newItem.key}}"> <td width="20%" title="{{item.newItem.key}}">
<span ng-bind="item.newItem.key | limitTo: 250"></span> <span ng-bind="item.newItem.key | limitTo: 250"></span>
...@@ -353,8 +345,8 @@ ...@@ -353,8 +345,8 @@
</tr> </tr>
<tr ng-repeat="item in commits.changeSets.deleteItems" <tr ng-repeat="item in commits.changeSets.deleteItems"
ng-show="item.key || item.comment"> ng-show="item.key || item.comment">
<td width="2%" title="删除的配置"> <td width="2%">
<span class="label label-danger change-type-mark">&nbsp;</span> 删除
</td> </td>
<td width="20%" title="{{item.key}}"> <td width="20%" title="{{item.key}}">
<span ng-bind="item.key | limitTo: 250"></span> <span ng-bind="item.key | limitTo: 250"></span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment