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 {
|
struct Pull {
|
||||||
url: String,
|
url: String,
|
||||||
id: u32,
|
id: u32,
|
||||||
name: String,
|
name_repo: String,
|
||||||
|
title: String,
|
||||||
state: u8,
|
state: u8,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -52,7 +53,8 @@ pub async fn build_page(config: Config) -> String {
|
||||||
let project = Pull {
|
let project = Pull {
|
||||||
url: p.contrib_url.clone(),
|
url: p.contrib_url.clone(),
|
||||||
id: p.id,
|
id: p.id,
|
||||||
name: p.project.clone(),
|
name_repo: p.project.to_owned(),
|
||||||
|
title: p.title.to_owned(),
|
||||||
state: p.status as u8,
|
state: p.status as u8,
|
||||||
};
|
};
|
||||||
let project_name = p.project.as_str();
|
let project_name = p.project.as_str();
|
||||||
|
|
|
@ -14,20 +14,24 @@
|
||||||
<h2 class="subtitle">{{name}}</h2>
|
<h2 class="subtitle">{{name}}</h2>
|
||||||
<p>
|
<p>
|
||||||
{{#pulls_merged}}
|
{{#pulls_merged}}
|
||||||
<a target="_blank" href="{{url}} ">#{{id}}</a>
|
<a target="_blank" title="{{title}} " href="{{url}} ">#{{id}}</a>
|
||||||
{{/pulls_merged}}
|
{{/pulls_merged}}
|
||||||
</p>
|
</p>
|
||||||
{{/projects}}
|
{{/projects}}
|
||||||
<h1 class="subtitle">En attente</h1>
|
<h1 class="subtitle">En attente</h1>
|
||||||
<p>
|
<p>
|
||||||
{{#waiting}} {{#pulls_open}}
|
{{#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}}
|
{{/pulls_open}} {{/waiting}}
|
||||||
</p>
|
</p>
|
||||||
<h1 class="subtitle">Non mergées</h1>
|
<h1 class="subtitle">Non mergées</h1>
|
||||||
<p>
|
<p>
|
||||||
{{#closed}} {{#pulls_closed}}
|
{{#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}}
|
{{/pulls_closed}} {{/closed}}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue