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

Side by Side Diff: chrome/browser/resources/options/about_page.html

Issue 3130041: Remove nested if statements. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 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
« no previous file with comments | « no previous file | 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 <div class="page hidden" id="aboutPage"> 1 <div class="page hidden" id="aboutPage">
2 <h1 i18n-content="product"></h1> 2 <h1 i18n-content="product"></h1>
3 <div id="aboutPageLessInfo"> 3 <div id="aboutPageLessInfo">
4 <section> 4 <section>
5 <div> 5 <div>
6 <!-- White space is significant between spans. --> 6 <!-- White space is significant between spans. -->
7 <if expr="pp_ifdef('chromeos')"> 7 <div><span i18n-content="os"></span> <span id="osVersion0">
8 <div><span i18n-content="os"></span> <span id="osVersion0"> 8 <span class="loading" i18n-content="loading"></span></span></div>
9 <span class="loading" i18n-content="loading"></span></span></div>
10 </if>
11 <div> 9 <div>
12 <span i18n-content="browser"></span> 10 <span i18n-content="browser"></span>
13 <span i18n-content="browser_version"></span> 11 <span i18n-content="browser_version"></span>
14 </div> 12 </div>
15 <div> 13 <div>
16 <button class="link-button" id="moreInfoButton" 14 <button class="link-button" id="moreInfoButton"
17 i18n-content="more_info"></button> 15 i18n-content="more_info"></button>
18 </div> 16 </div>
19 </div> 17 </div>
20 </section> 18 </section>
21 </div> 19 </div>
22 <div class="hidden" id="aboutPageMoreInfo"> 20 <div class="hidden" id="aboutPageMoreInfo">
23 <section> 21 <section>
24 <h3 i18n-content="channel"></h3> 22 <h3 i18n-content="channel"></h3>
25 <!-- TODO seanparent: wire to channel API when available. --> 23 <!-- TODO seanparent: wire to channel API when available. -->
26 <select disabled> 24 <select disabled>
27 <option value="release" i18n-content="release"></option> 25 <option value="release" i18n-content="release"></option>
28 <option value="beta" i18n-content="beta"></option> 26 <option value="beta" i18n-content="beta"></option>
29 <option selected value="development" 27 <option selected value="development"
30 i18n-content="development"></option> 28 i18n-content="development"></option>
31 </select> 29 </select>
32 </section> 30 </section>
33 <if expr="pp_ifdef('chromeos')"> 31 <section>
34 <section> 32 <h3 i18n-content="os"></h3>
35 <h3 i18n-content="os"></h3> 33 <div id="osVersion1">
36 <div id="osVersion1"> 34 <span class="loading" i18n-content="loading"></span>
37 <span class="loading" i18n-content="loading"></span> 35 </div>
38 </div> 36 </section>
39 </section>
40 </if>
41 <section> 37 <section>
42 <h3 i18n-content="browser"></h3> 38 <h3 i18n-content="browser"></h3>
43 <div i18n-content="browser_version"></div> 39 <div i18n-content="browser_version"></div>
44 </section> 40 </section>
45 <section> 41 <section>
46 <h3>WebKit</h3> 42 <h3>WebKit</h3>
47 <div i18n-content="webkit_version"></div> 43 <div i18n-content="webkit_version"></div>
48 </section> 44 </section>
49 <section> 45 <section>
50 <h3 i18n-content="js_engine"></h3> 46 <h3 i18n-content="js_engine"></h3>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 <span id="updateStatus" i18n-content="update_status"></span> 78 <span id="updateStatus" i18n-content="update_status"></span>
83 </div> 79 </div>
84 <div> 80 <div>
85 <!-- TODO seanparent: fill in last checked. --> 81 <!-- TODO seanparent: fill in last checked. -->
86 <!-- <span i18n-content="last_check"></span> --> 82 <!-- <span i18n-content="last_check"></span> -->
87 <button disabled id="checkNow" i18n-content="check_now"></button> 83 <button disabled id="checkNow" i18n-content="check_now"></button>
88 </div> 84 </div>
89 </div> 85 </div>
90 </section> 86 </section>
91 </div> 87 </div>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698