summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKornel <kornel@geekhood.net>2020-03-17 14:28:28 +0000
committerKornel <kornel@geekhood.net>2020-03-17 14:28:28 +0000
commit1d634de61f812fdf69e11f0dba1e152621bcc108 (patch)
treecb9246e1d7ddc383f34d2f1b4f3f956f7b1ae433
parentf71ebe201ea7ac9b60dda8c78fb5fa812baa273e (diff)
Owner style
-rw-r--r--front_end/templates/crate_page.rs.html3
m---------style0
2 files changed, 2 insertions, 1 deletions
diff --git a/front_end/templates/crate_page.rs.html b/front_end/templates/crate_page.rs.html
index 750f682..d8de430 100644
--- a/front_end/templates/crate_page.rs.html
+++ b/front_end/templates/crate_page.rs.html
@@ -95,7 +95,8 @@
@if let Some(Contributors {authors, owners, co_owned, contributors, period_after_authors, contributors_as_a_team}) = Some(c.all_contributors()) {
@for (last, a) in authors.iter().identify_last() {
@if let Some(url) = url.author(a) {
- <a href="@url" property="author" typeof="Person"><span property="name">@a.name()</span></a>@if !last {,} else {@if period_after_authors {.}}
+ <a href="@url" @if a.owner {class="owner" title="owner"} else {class="contributor" title="contributor"}
+ property="author" typeof="Person"><span property="name">@a.name()</span></a>@if !last {,} else {@if period_after_authors {.}}
} else {
@a.name()@if !last {,} else {@if period_after_authors {.}}
}
diff --git a/style b/style
-Subproject 153ebdd80f082e132d470e6b57c943892cae4c4
+Subproject 62d0c47fa69b407b05c8e2da87af19a87977567