show title on link hovering
This commit is contained in:
parent
68f7adadb0
commit
1afa14dfed
2 changed files with 11 additions and 5 deletions
|
@ -35,7 +35,8 @@ struct Project {
|
|||
struct Pull {
|
||||
url: String,
|
||||
id: u32,
|
||||
name: String,
|
||||
name_repo: String,
|
||||
title: String,
|
||||
state: u8,
|
||||
}
|
||||
|
||||
|
@ -52,7 +53,8 @@ pub async fn build_page(config: Config) -> String {
|
|||
let project = Pull {
|
||||
url: p.contrib_url.clone(),
|
||||
id: p.id,
|
||||
name: p.project.clone(),
|
||||
name_repo: p.project.to_owned(),
|
||||
title: p.title.to_owned(),
|
||||
state: p.status as u8,
|
||||
};
|
||||
let project_name = p.project.as_str();
|
||||
|
|
|
@ -14,20 +14,24 @@
|
|||
<h2 class="subtitle">{{name}}</h2>
|
||||
<p>
|
||||
{{#pulls_merged}}
|
||||
<a target="_blank" href="{{url}} ">#{{id}}</a>
|
||||
<a target="_blank" title="{{title}} " href="{{url}} ">#{{id}}</a>
|
||||
{{/pulls_merged}}
|
||||
</p>
|
||||
{{/projects}}
|
||||
<h1 class="subtitle">En attente</h1>
|
||||
<p>
|
||||
{{#waiting}} {{#pulls_open}}
|
||||
<a target="_blank" href="{{url}} ">{{name}}#{{id}}</a>
|
||||
<a target="_blank" title="{{title}} " href="{{url}} "
|
||||
>{{name_repo}}#{{id}}</a
|
||||
>
|
||||
{{/pulls_open}} {{/waiting}}
|
||||
</p>
|
||||
<h1 class="subtitle">Non mergées</h1>
|
||||
<p>
|
||||
{{#closed}} {{#pulls_closed}}
|
||||
<a target="_blank" href="{{url}} ">{{name}}#{{id}}</a>
|
||||
<a target="_blank" title="{{title}} " href="{{url}} "
|
||||
>{{name_repo}}#{{id}}</a
|
||||
>
|
||||
{{/pulls_closed}} {{/closed}}
|
||||
</p>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue