Commit 08a50e8d authored by Kiyoshi Aman's avatar Kiyoshi Aman
Browse files

Chessa::Bug::Adelie: alter formatting to contain sigils

parent c73fca3f
......@@ -154,7 +154,7 @@ sub issue {
url => $json->{web_url},
state => $json->{state},
);
my $str = $self->{msg}($project, $d{id}) . ' ' . $d{title} . ' (' .
my $str = $self->{msg}("$project#$d{id}", $d{title}) . ' (' .
$self->{msg}('Status', $d{state}) . ' ' .
$self->{msg}('Author', $d{author}) . ") - $d{url}";
......@@ -185,7 +185,7 @@ sub mr {
push @{$d{labels}}, $label->{title};
}
}
my $str = $self->{msg}($project, $d{id}) . ' ' . $d{title} . ' (' .
my $str = $self->{msg}("$project!$d{id}", $d{title}) . ' (' .
$self->{msg}('Status', $d{state}) . "; $d{merge} " .
$self->{msg}('Author', $d{author}) . ') ' .
$d{source} . ' -> ' . $d{target};
......@@ -214,7 +214,7 @@ sub commit {
url => $json->{web_url},
);
my $str = $self->{msg}($project, $d{id}) . ' ' . $d{title} . ' (' .
my $str = $self->{msg}("$project\@$d{id}", $d{title}) . ' (' .
$self->{msg}('Author', $d{author}) .
($d{author} ne $d{commit} ? ' ' . $self->{msg}('Committer', $d{commit}) : '') .
") - $d{url}";
......@@ -235,8 +235,7 @@ sub snippet {
id => $num,
url => $json->{web_url},
);
$project = 'Snippet' unless length($project);
my $str = $self->{msg}($project, $d{id}) . " $d{title} (" .
my $str = $self->{msg}("$project!$d{id}", $d{title}) . ' (' .
$self->{msg}('Author', $d{author}) . ") - $d{url}";
$on_info->($str);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment