Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: app/views/pkg/show.mustache

Issue 2074933004: Add support for showing latest dev/stable versions (Closed) Base URL: git@github.com:dart-lang/pub-dartlang-dart.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« app/lib/handlers.dart ('K') | « app/lib/templates.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {{! Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 {{! Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 for details. All rights reserved. Use of this source code is governed by a 2 for details. All rights reserved. Use of this source code is governed by a
3 BSD-style license that can be found in the LICENSE file. }} 3 BSD-style license that can be found in the LICENSE file. }}
4 4
5 <h1> 5 <h1>
6 {{package.name}} 6 {{package.name}}
7 <span class="version">{{package.latest_version.version}}</span> 7 <span class="version">{{package.selected_version.version}}</span>
8 <span class="version" style="font-weight: normal">
9 {{#package.latest.should_show}}
10 (latest:
Søren Gjesse 2016/06/17 07:03:37 I saw that you already deployed this, and maybe th
kustermann 2016/06/28 09:53:31 I couldn't get any feedback without deploying and
11 <a href="/packages/{{package.name}}/versions/{{package.latest.stable}}" >{ {package.latest.stable}}</a>
12 {{#package.latest.should_show_dev}}
13 /
14 <a href="/packages/{{package.name}}/versions/{{package.latest.dev}}" >{{pa ckage.latest.dev}}</a>
15 {{/package.latest.should_show_dev}}
16 )
17 {{/package.latest.should_show}}
18 </span>
8 </h1> 19 </h1>
9 <div class="row-fluid"> 20 <div class="row-fluid">
10 <div class="span8"> 21 <div class="span8">
11 <ul class="nav nav-tabs"> 22 <ul class="nav nav-tabs">
12 {{#readme}} 23 {{#readme}}
13 <li class="active"> 24 <li class="active">
14 <a href="#readme" data-toggle="tab">{{readme_filename}}</a> 25 <a href="#readme" data-toggle="tab">{{readme_filename}}</a>
15 </li> 26 </li>
16 {{/readme}} 27 {{/readme}}
17 {{#changelog}} 28 {{#changelog}}
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 {{/package.crossdart}} 138 {{/package.crossdart}}
128 139
129 <h4>{{package.uploaders_title}}</h4> 140 <h4>{{package.uploaders_title}}</h4>
130 <p>{{& package.uploaders_html}}</p> 141 <p>{{& package.uploaders_html}}</p>
131 142
132 <h4>Share</h4> 143 <h4>Share</h4>
133 <div class="g-plusone" data-annotation="none"></div> 144 <div class="g-plusone" data-annotation="none"></div>
134 <a href="https://twitter.com/share" class="twitter-share-button" data-count= "none" data-hashtags="dartlang">Tweet</a> 145 <a href="https://twitter.com/share" class="twitter-share-button" data-count= "none" data-hashtags="dartlang">Tweet</a>
135 </div> 146 </div>
136 </div> 147 </div>
OLDNEW
« app/lib/handlers.dart ('K') | « app/lib/templates.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698