-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revision-Diffs nebeneinander + Metadaten
- Loading branch information
Bernd Ritter
committed
May 24, 2024
1 parent
39e14ff
commit debcbbc
Showing
4 changed files
with
66 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 30 additions & 4 deletions
34
src/main/webapp/WEB-INF/templates/sites/revisions/diff.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,34 @@ | ||
<section class="g-pt-50 g-pb-90"> | ||
<div class="container"> | ||
Diff zwischen Revision <div data-th-text="${view1.revision}"></div> und <div data-th-text="${view2.revision}"></div> | ||
<div class="row"> | ||
<div class="table-responsive"> | ||
<table class="table table-striped"> | ||
<thead> | ||
<tr> | ||
<th>Revisionen</th> | ||
<th><div data-th-text="${view1.revision}">Revision 1</div></th> | ||
<th><div data-th-text="${view2.revision}">Revision 2</div></th> | ||
</tr> | ||
<tr> | ||
<th>Aktualisierung</th> | ||
<th><span data-th-text="${view1.updated}"></span></th> | ||
<th><span data-th-text="${view2.updated}"></span></th> | ||
</tr> | ||
<tr> | ||
<th>Changelog:</th> | ||
<th data-th-text="${view1.changelog}"></th> | ||
<th data-th-text="${view2.changelog}"></th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr data-th-each="diffRow : ${diffRows}"> | ||
<td data-th-text="${diffRow.getTag()}"></td> | ||
<td data-th-text="${diffRow.getOldLine()}"></td> | ||
<td data-th-text="${diffRow.getNewLine()}"></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div data-th-text="${diff}"></div> | ||
|
||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,6 @@ <h3 class="h4 g-mb-15"> | |
</tr> | ||
</tbody> | ||
</table> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</section> |