View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
667 | RackTables | default | public | 2012-11-15 10:08 | 2018-11-14 14:51 |
Reporter | grin | Assigned To | infrastation | ||
Priority | low | Severity | trivial | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Product Version | 0.20.1 | ||||
Target Version | 0.20.2 | Fixed in Version | 0.20.2 | ||
Summary | 667: I am too lazy to search for keys :-) why not display them in the config section anyway? | ||||
Description | Show keys used for config (like default port creation etc.) | ||||
Additional Information | Patch attached. | ||||
Tags | No tags attached. | ||||
showkey.diff (970 bytes)
diff -r 078113670d4c inc/interface.php --- a/inc/interface.php Thu Nov 15 09:18:27 2012 +0100 +++ b/inc/interface.php Thu Nov 15 10:07:07 2012 +0100 @@ -3982,8 +3982,8 @@ $refcnt = getChapterRefc ($tgt_chapter_no, array_keys ($words)); $attrs = getChapterAttributes($tgt_chapter_no); echo "<br><table class=cooltable border=0 cellpadding=5 cellspacing=0 align=center>\n"; - echo "<tr><th colspan=3>${wc} record(s)</th></tr>\n"; - echo "<tr><th>Origin</th><th>Refcnt</th><th>Word</th></tr>\n"; + echo "<tr><th colspan=4>${wc} record(s)</th></tr>\n"; + echo "<tr><th>Origin</th><th>Refcnt</th><th>Word</th><th>key</th></tr>\n"; $order = 'odd'; foreach ($words as $key => $value) { @@ -4017,7 +4017,7 @@ else echo $refcnt[$key]; } - echo "</td><td><div title='key=${key}'>${value}</div></td></tr>\n"; + echo "</td><td><div title='key=${key}'>${value}</div></td><td>${key}</td></tr>\n"; $order = $nextorder[$order]; } echo "</table>\n<br>"; |
|
The key is already displayed on a mouse hover, would that do the job? | |
Before I answer, two questions: 1) what do you think, is it possible to be unaware of the hover text if I have created the attached patch modifying the very same html line with the aforementioned text? :-) 2) could you please share how would you search for a given key if it is only in the mouseover? ;) [searching in the html source is cheating [and ugly]] |
|
OK, there's the use for the dict_key value (on both the View and Edit tabs), but then perhaps the hover hint should be removed? | |
I was pondering on this but wasn't able to decide. I guess it's not much of a use this way, it could be freely removed. | |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-11-15 10:08 | grin | New Issue | |
2012-11-15 10:08 | grin | File Added: showkey.diff | |
2012-11-15 10:14 | grin | Tag Attached: patch | |
2012-11-21 22:34 | infrastation | Note Added: 0000993 | |
2012-11-22 16:53 | grin | Note Added: 0000997 | |
2012-11-24 14:55 | infrastation | Note Added: 0001011 | |
2012-11-24 14:55 | infrastation | Assigned To | => infrastation |
2012-11-24 14:55 | infrastation | Status | new => assigned |
2012-12-01 14:58 | infrastation | Status | assigned => feedback |
2012-12-02 21:48 | grin | Note Added: 0001021 | |
2012-12-02 21:48 | grin | Status | feedback => assigned |
2012-12-15 15:43 | infrastation | Status | assigned => closed |
2012-12-15 15:43 | infrastation | Resolution | open => fixed |
2012-12-15 15:43 | infrastation | Fixed in Version | => 0.20.2 |
2012-12-15 15:43 | infrastation | Target Version | => 0.20.2 |
2018-11-14 14:51 | infrastation | Tag Detached: patch |