diff options
author | Kornel <kornel@geekhood.net> | 2020-03-17 14:28:28 +0000 |
---|---|---|
committer | Kornel <kornel@geekhood.net> | 2020-03-17 14:28:28 +0000 |
commit | 1d634de61f812fdf69e11f0dba1e152621bcc108 (patch) | |
tree | cb9246e1d7ddc383f34d2f1b4f3f956f7b1ae433 /front_end/templates/crate_page.rs.html | |
parent | f71ebe201ea7ac9b60dda8c78fb5fa812baa273e (diff) |
Owner style
Diffstat (limited to 'front_end/templates/crate_page.rs.html')
-rw-r--r-- | front_end/templates/crate_page.rs.html | 3 |
1 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 {.}} } |