File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -93,8 +93,10 @@ sub _fetch {
9393 my $release = $data -> {release };
9494 my $dist = $data -> {distribution };
9595
96- $data -> {chat } = $self -> _get_chat( $release , $dist );
97- $data -> {issues } = $self -> _get_issues( $release , $dist );
96+ $data -> {chat } = $self -> _get_chat( $release , $dist );
97+ $data -> {issues } = $self -> _get_issues( $release , $dist );
98+ $data -> {stars }
99+ = $data -> {distribution }-> {repo }-> {github }-> {stars } || 0;
98100 $data -> {repository } = $self -> _get_repository( $release , $dist );
99101
100102 Future-> done($data );
Original file line number Diff line number Diff line change 1010<div class="show-logged-out">
1111 <button class="fav-not-logged-in favorite[% if $favorites { %] highlight[% } %]"><span>[% $favorites %]</span> ++</button>
1212</div>
13+ %% if $stars {
14+ <div class="star-rating">
15+ <button class="btn btn-outline-warning">
16+ <span>⭐</span>
17+ <span>[% $stars %]</span>
18+ </button>
19+ </div>
20+ %% }
You can’t perform that action at this time.
0 commit comments