Skip to content
Browse files

Adding recent new developers

  • Loading branch information...
1 parent 7f68572 commit 5bbc5d2565c739756aa6b305bf810bdd8d36c222 @ranginui ranginui committed Jul 14, 2012
Showing with 22 additions and 1 deletion.
  1. +2 −0 lib/KC/Dashboard.pm
  2. +14 −1 lib/KC/Data.pm
  3. +6 −0 views/show_entries.tt
View
2 lib/KC/Dashboard.pm
@@ -58,6 +58,7 @@ AND added = 'Pushed to Master' AND bug_severity = 'enhancement' ORDER BY bug_whe
$sth->execute or die $sth->errstr;
my $enhancement = $sth->fetchall_arrayref;
my $dates = get_dates();
+ my $devs = get_devs();
template 'show_entries.tt',
{
'entries' => $entries,
@@ -67,6 +68,7 @@ AND added = 'Pushed to Master' AND bug_severity = 'enhancement' ORDER BY bug_whe
'daybefore' => $daybefore,
'enhancments' => $enhancement,
'dates' => $dates,
+ 'devs' => $devs,
};
};
View
15 lib/KC/Data.pm
@@ -14,7 +14,7 @@ our @ISA = qw(Exporter);
our %EXPORT_TAGS = (
'all' => [
qw(
- get_dates
+ get_dates get_devs
)
]
);
@@ -45,5 +45,18 @@ sub get_dates {
}
+sub get_devs {
+ open( my $FH, '<', 'data/devs.txt' );
+ my @devs;
+ while ( my $line = <$FH> ) {
+ my $devrow = {
+ 'dev' => $line
+ };
+ push @devs, $devrow;
+ }
+ close $FH;
+ return \@devs;
+}
+
1;
__END__
View
6 views/show_entries.tt
@@ -118,6 +118,12 @@ $(document).ready(function(){
<li><a href="http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=<% enhancement.0 %>"><% enhancement.0%></a> - <% enhancement.1 %> - <% enhancement.2 %></li>
<% END %>
</ul>
+<h3> New Developers </h3>
+<ul>
+<% FOREACH dev IN devs %>
+<li><% dev.dev %></li>
+<% END %>
+</ul>
<h3>Jenkins Status</h3>
<div id="jenkins"></div>
</div>

0 comments on commit 5bbc5d2

Please sign in to comment.
Something went wrong with that request. Please try again.