Started on issue 544, extended commit details
* Scm.php: new SCM method "getChanges" which returns all available change information grouped by type * Monotone.php: implement getChanges via get_revision * <other scms>: rename "changes" member for getCommit to "diff" which matches better * Source.php: query the commit's changes and set them in the template * commit.html: render the changes, type-by-type. Link to the tree or the individual diff if applicable * styles.css: some initial style sheet work
This commit is contained in:
@@ -504,6 +504,21 @@ table.commit th {
|
||||
table.commit td, table.commit th {
|
||||
padding: 3px;
|
||||
}
|
||||
table.commit table.changes td {
|
||||
padding: 2px;
|
||||
}
|
||||
table.commit table.changes table.properties {
|
||||
margin: 0;
|
||||
}
|
||||
table.commit table.changes table.properties tr:nth-child(even) {
|
||||
background: #E4E8E0;
|
||||
}
|
||||
table.commit table.changes table.properties td {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
table.commit table.changes table.properties td.removed {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/**
|
||||
* syntax highlighting of diffs
|
||||
|
Reference in New Issue
Block a user