27
|
27
|
|
</tr>
|
28
|
28
|
|
<tr>
|
29
|
29
|
|
<td>
|
30
|
|
- |
<b>Commit ID</b>
|
|
30
|
+ |
<b>Commit</b>
|
31
|
31
|
|
</td>
|
32
|
32
|
|
<td>
|
33
|
|
- |
{{ commit.id }}
|
|
33
|
+ |
<a href="{{ url('commit', repository=repository[:-4], commit_id=commit.id) }}">{{ commit.id }}</a>
|
34
|
34
|
|
</td>
|
35
|
35
|
|
</tr>
|
36
|
36
|
|
<tr>
|
180
|
180
|
|
</span>
|
181
|
181
|
|
|
182
|
182
|
|
{% if patch.delta.status == 1 %}
|
183
|
|
- |
<b title="Added">A</b> {{ patch.delta.new_file.path }}
|
|
183
|
+ |
<b title="Added">A</b> {{ patch.delta.new_file.path }}
|
184
|
184
|
|
{% endif %}
|
185
|
185
|
|
|
186
|
186
|
|
{% if patch.delta.status == 2 %}
|
187
|
|
- |
<b title="Deleted">D</b> {{ patch.delta.old_file.path }}
|
|
187
|
+ |
<b title="Deleted">D</b> {{ patch.delta.old_file.path }}
|
188
|
188
|
|
{% endif %}
|
189
|
189
|
|
|
190
|
190
|
|
{% if patch.delta.status == 3 %}
|
191
|
|
- |
<b title="Modified">M</b> {{ patch.delta.new_file.path }}
|
|
191
|
+ |
<b title="Modified">M</b> {{ patch.delta.new_file.path }}
|
192
|
192
|
|
{% endif %}
|
193
|
193
|
|
|
194
|
194
|
|
{% if patch.delta.status == 4 %}
|
195
|
|
- |
<b title="Renamed">R</b> {{ patch.delta.old_file.path }} -> {{ patch.delta.new_file.path }}
|
|
195
|
+ |
<b title="Renamed">R</b> {{ patch.delta.old_file.path }} -> {{ patch.delta.new_file.path }}
|
196
|
196
|
|
{% endif %}
|
197
|
197
|
|
|
198
|
198
|
|
{% if patch.delta.status == 5 %}
|
199
|
|
- |
<b title="Copied">C</b> {{ patch.delta.old_file.path }} {{ patch.delta.new_file.path }}
|
|
199
|
+ |
<b title="Copied">C</b> {{ patch.delta.old_file.path }} {{ patch.delta.new_file.path }}
|
200
|
200
|
|
{% endif %}
|
201
|
201
|
|
|
202
|
202
|
|
<table>
|
203
|
|
- |
<tr>
|
204
|
|
- |
<td colspan="4">
|
205
|
|
- |
old size: {{ patch.delta.old_file.size|human_size(B=true) }}
|
206
|
|
- |
-
|
207
|
|
- |
new size: {{ patch.delta.new_file.size|human_size(B=true) }}
|
208
|
|
- |
</td>
|
209
|
|
- |
</tr>
|
210
|
|
- |
<tr>
|
211
|
|
- |
<td colspan="4">
|
212
|
|
- |
{% if patch.delta.status == 1 %}
|
213
|
|
- |
new file mode: {{ patch.delta.new_file.mode|filemode }}
|
214
|
|
- |
{% elif patch.delta.status == 2 %}
|
215
|
|
- |
deleted file mode: {{ patch.delta.old_file.mode|filemode }}
|
216
|
|
- |
{% elif patch.delta.old_file.mode != patch.delta.new_file.mode %}
|
217
|
|
- |
old mode: {{ patch.delta.old_file.mode|filemode }}
|
218
|
|
- |
<br />
|
219
|
|
- |
new mode: {{ patch.delta.new_file.mode|filemode }}
|
220
|
|
- |
{% endif %}
|
221
|
|
- |
</td>
|
222
|
|
- |
</tr>
|
|
203
|
+ |
<tr>
|
|
204
|
+ |
<td>
|
|
205
|
+ |
index {{ (patch.delta.old_file.id|string)[:7] }}..{{ (patch.delta.new_file.id|string)[:7] }}
|
|
206
|
+ |
</td>
|
|
207
|
+ |
</tr>
|
|
208
|
+ |
<tr>
|
|
209
|
+ |
<td colspan="4">
|
|
210
|
+ |
old size: {{ patch.delta.old_file.size|human_size(B=true) }}
|
|
211
|
+ |
-
|
|
212
|
+ |
new size: {{ patch.delta.new_file.size|human_size(B=true) }}
|
|
213
|
+ |
</td>
|
|
214
|
+ |
</tr>
|
|
215
|
+ |
<tr>
|
|
216
|
+ |
<td colspan="4">
|
|
217
|
+ |
{% if patch.delta.status == 1 %}
|
|
218
|
+ |
new file mode: {{ patch.delta.new_file.mode|filemode }}
|
|
219
|
+ |
{% elif patch.delta.status == 2 %}
|
|
220
|
+ |
deleted file mode: {{ patch.delta.old_file.mode|filemode }}
|
|
221
|
+ |
{% elif patch.delta.old_file.mode != patch.delta.new_file.mode %}
|
|
222
|
+ |
old mode: {{ patch.delta.old_file.mode|filemode }}
|
|
223
|
+ |
<br />
|
|
224
|
+ |
new mode: {{ patch.delta.new_file.mode|filemode }}
|
|
225
|
+ |
{% endif %}
|
|
226
|
+ |
</td>
|
|
227
|
+ |
</tr>
|
223
|
228
|
|
</table>
|
224
|
229
|
|
</summary>
|
225
|
230
|
|
|
352
|
357
|
|
|
353
|
358
|
|
</table>
|
354
|
359
|
|
</details>
|
|
360
|
+ |
|
|
361
|
+ |
<hr/>
|
355
|
362
|
|
|
356
|
363
|
|
{% endfor %}
|
357
|
364
|
|
|