1 file changed, +3, -2
c83ca5cShow each release's commit and label its date
src/html.rs
+3, -2
+3, -2
@@ -55,7 +55,7 @@ const MAX_LINKS: usize = 40;
55 55
56 56 const BASE64_CHARS: &[u8; 64] = b"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
57 57
58 -const ICONS: [(&str, &str); 22] = [
58+const ICONS: [(&str, &str); 23] = [
59 59 ("file", include_str!("icons/file-16.svg")),
60 60 ("file-zip", include_str!("icons/file-zip-16.svg")),
61 61 (
@@ -73,6 +73,7 @@ const ICONS: [(&str, &str); 22] = [
73 73 ("git-branch", include_str!("icons/git-branch-16.svg")),
74 74 ("git-commit", include_str!("icons/git-commit-16.svg")),
75 75 ("tag", include_str!("icons/tag-16.svg")),
76+ ("release", include_str!("icons/release-16.svg")),
76 77 ("chevron-down", include_str!("icons/chevron-down-16.svg")),
77 78 ("chevron-left", include_str!("icons/chevron-left-16.svg")),
78 79 ("chevron-right", include_str!("icons/chevron-right-16.svg")),
@@ -589,7 +590,7 @@ pub fn gen_releases(repo: &RepoInfo, sums: &[Vec<(usize, String)>]) -> String {
589590 <div class=\"ml-auto tree-date release-date\" title=\"{}\">released {}</div>\n\
590591 </div>\n\
591592 ",
592 - icon("tag"),
593+ icon("release"),
593594 Tab::Tree.href(&format!("tags/{}", release.tag)),
594595 escape_str(&release.tag),
595596 icon("git-commit"),