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

Unified Diff: chrome/common/extensions/docs/static/samples.html

Issue 5989011: Add hotlinks to individual samples in extension samples directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/common/extensions/docs/build
Patch Set: Display tweaks Created 9 years, 12 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/docs/samples.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/static/samples.html
diff --git a/chrome/common/extensions/docs/static/samples.html b/chrome/common/extensions/docs/static/samples.html
index 637c4918eef57196aa0ba18acfa8f2110630b461..5e0df08e876fa0ea8c7b9054a3d00fb77e76b02c 100644
--- a/chrome/common/extensions/docs/static/samples.html
+++ b/chrome/common/extensions/docs/static/samples.html
@@ -83,7 +83,7 @@
<img jsdisplay="icon != null" class="icon" jsvalues="src:path + icon" />
<img jsdisplay="icon == null" class="icon" src="images/sample-default-icon.png" />
<h2 class="name">
- <a jscontent="name" jsvalues="href:'http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/' + path" target="_blank"></a>
+ <a jscontent="name" jsvalues="href:'#'+$this.id"></a>
</h2>
<p jsdisplay="features.length > 0" class="metadata features" jseval="$total=features.length">Uses
<span jsselect="features">
@@ -106,7 +106,10 @@
</li>
</ul>
</div>
- <div><a jsvalues="href:$this.zip_path">Download .zip</a></li></div>
+ <div>
+ <a jsvalues="href:'http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/' + path" target="_blank">Browse source</a>
+ - <a jsvalues="href:$this.zip_path">Download source</a>
+ </div>
</div>
<div id="noresults" style="display:none">
« no previous file with comments | « chrome/common/extensions/docs/samples.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698