Merge lp:~3v1n0/bileto/ppa-packages-link into lp:bileto

Proposed by Marco Trevisan (Treviño)
Status: Needs review
Proposed branch: lp:~3v1n0/bileto/ppa-packages-link
Merge into: lp:bileto
Diff against target: 21 lines (+2/-2)
1 file modified
bileto/static/app.js (+2/-2)
To merge this branch: bzr merge lp:~3v1n0/bileto/ppa-packages-link
Reviewer Review Type Date Requested Status
CU2D maintainers Pending
Review via email: mp+286276@code.launchpad.net

Commit message

app: display link to ppa +packages page by default

Description of the change

I think we all care more about the +packages page of the PPAs, in order to check their status, so I'd link to that.

To post a comment you must log in.

Unmerged revisions

437. By Marco Trevisan (Treviño)

app: display link to ppa +packages page by default

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bileto/static/app.js'
2--- bileto/static/app.js 2016-02-17 04:54:08 +0000
3+++ bileto/static/app.js 2016-02-17 10:30:43 +0000
4@@ -51,7 +51,7 @@
5
6 function display_siloname(ppa_team, text) {
7 text = (text || '');
8- return a(PPA_PREFIX + ppa_team + '/+archive/' + text, text)
9+ return a(PPA_PREFIX + ppa_team + '/+archive/' + text + '/+packages', text)
10 }
11
12 function link_excuses(match, packagelist) {
13@@ -91,7 +91,7 @@
14 function display_dest(text) {
15 if (!text) return '';
16 var parts = text.split(/\//);
17- return a(TEAM_PREFIX + parts[0] + '/+archive/' + parts[1] + '/' + parts[2], parts[2]);
18+ return a(TEAM_PREFIX + parts[0] + '/+archive/' + parts[1] + '/' + parts[2] + '/+packages', parts[2]);
19 }
20
21 app.controller('appController', ['$scope', '$location', '$http', '$anchorScroll', function($scope, $location, $http, $anchorScroll) {

Subscribers

People subscribed via source and target branches