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

Unified Diff: chrome/browser/resources/policy.html

Issue 8555009: Fix display and progressive disclosure for multi-line values in about:policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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
Index: chrome/browser/resources/policy.html
diff --git a/chrome/browser/resources/policy.html b/chrome/browser/resources/policy.html
index 8f7349e4b04c7d2626339c6b8f4dd6435dc58311..95737299788f79308f2f3138d41e075330c858e0 100644
--- a/chrome/browser/resources/policy.html
+++ b/chrome/browser/resources/policy.html
@@ -127,24 +127,26 @@
<span class="policy-name" jscontent="name"></span>
</td>
<td>
- <div class="text-container collapsed">
- <span class="cell-text" jscontent="value"></span>
+ <div class="text-collapsed text-container">
+ <a class="toggler expand" style="display: none"
James Hawkins 2011/11/14 17:34:47 Use hidden instead of syle=display none
James Hawkins 2011/11/14 17:34:47 Are these actual links or buttons that look like l
Mattias Nissler (ping if slow) 2011/11/14 17:59:29 I made them proper link buttons.
Mattias Nissler (ping if slow) 2011/11/14 17:59:29 Done.
+ i18n-content="showMoreText"></a>
+ <div class="text-cell">
+ <span class="text-value" jscontent="value"></span>
+ </div>
+ <a class="toggler collapse" style="display: none"
+ i18n-content="hideText"></a>
</div>
- <a class="toggler expand" style="display: none"
- jsdisplay="Policy.shouldShowExpand(this)"
- i18n-content="showMoreText"></a>
- <a class="toggler collapse" style="display: none"
- i18n-content="hideText"></a>
</td>
<td>
- <div class="text-container collapsed">
- <span class="cell-text" jscontent="status"></span>
+ <div class="text-collapsed text-container">
+ <a class="toggler expand" style="display: none"
+ i18n-content="showMoreText"></a>
+ <div class="text-cell">
+ <span class="text-value" jscontent="status"></span>
+ </div>
+ <a class="toggler collapse" style="display: none"
+ i18n-content="hideText"></a>
</div>
- <a class="toggler expand" style="display: none"
- jsdisplay="Policy.shouldShowExpand(this)"
- i18n-content="showMoreText"></a>
- <a class="toggler collapse" style="display: none"
- i18n-content="hideText"></a>
</td>
</tr>
</table>

Powered by Google App Engine
This is Rietveld 408576698