made the issue summary item clickable in the issue home view

This commit is contained in:
hyung-hwan 2016-09-02 02:06:18 +00:00
parent 2f1e378d1b
commit ef869011c6
2 changed files with 30 additions and 15 deletions

View File

@ -376,7 +376,7 @@ else
print '</td>'; print '</td>';
print '<td class="summary">'; print '<td class="summary">';
print htmlspecialchars($issue->summary); print anchor ("issue/show/{$project->id}/{$hexid}", htmlspecialchars($issue->summary));
print '</td>'; print '</td>';
print '</tr>'; print '</tr>';

View File

@ -61,42 +61,42 @@ textarea.codepot-issue-edit-comment {
vertical-align: text-top; vertical-align: text-top;
} }
#issue_home_result_table tr.new td.status, #issue_home_result_table tr.new td.status/*,
#issue_home_result_table tr.new td.summary { #issue_home_result_table tr.new td.summary*/ {
background-color: #ffccbb; background-color: #ffccbb;
background-color: rgba(255, 204, 187, 0.5); background-color: rgba(255, 204, 187, 0.5);
} }
#issue_home_result_table tr.accepted td.status, #issue_home_result_table tr.accepted td.status/*,
#issue_home_result_table tr.accepted td.summary { #issue_home_result_table tr.accepted td.summary*/ {
} }
#issue_home_result_table tr.rejected td.status, #issue_home_result_table tr.rejected td.status/*,
#issue_home_result_table tr.rejected td.summary { #issue_home_result_table tr.rejected td.summary*/ {
background-color: #ffeedd; background-color: #ffeedd;
background-color: rgba(255, 238, 221, 0.5); background-color: rgba(255, 238, 221, 0.5);
} }
#issue_home_result_table tr.started td.status, #issue_home_result_table tr.started td.status/*,
#issue_home_result_table tr.started td.summary { #issue_home_result_table tr.started td.summary*/ {
background-color: #ddeeff; background-color: #ddeeff;
background-color: rgba(221, 238, 255, 0.5); background-color: rgba(221, 238, 255, 0.5);
} }
#issue_home_result_table tr.stalled td.status, #issue_home_result_table tr.stalled td.status/*,
#issue_home_result_table tr.stalled td.summary { #issue_home_result_table tr.stalled td.summary*/ {
background-color: #bbccff; background-color: #bbccff;
background-color: rgba(187, 204, 255, 0.5); background-color: rgba(187, 204, 255, 0.5);
} }
#issue_home_result_table tr.resolved td.status, #issue_home_result_table tr.resolved td.status/*,
#issue_home_result_table tr.resolved td.summary { #issue_home_result_table tr.resolved td.summary*/ {
background-color: #ddffdd; background-color: #ddffdd;
background-color: rgba(221, 255, 221, 0.5); background-color: rgba(221, 255, 221, 0.5);
} }
#issue_home_result_table tr.other td.status, #issue_home_result_table tr.other td.status/*,
#issue_home_result_table tr.other td.summary { #issue_home_result_table tr.other td.summary*/ {
background-color: #ddeeff; background-color: #ddeeff;
background-color: rgba(221, 238, 255, 0.5); background-color: rgba(221, 238, 255, 0.5);
} }
@ -113,6 +113,21 @@ textarea.codepot-issue-edit-comment {
white-space: normal; white-space: normal;
} }
#issue_home_result_table td.summary:hover {
background-color: #F0F0F0 !important;
}
#issue_home_result_table td.summary a,
#issue_home_result_table td.summary a:visited,
#issue_home_result_table td.summary a:focus {
color: inherit;
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
font-family: "DejaVu Sans Mono", consolas, monaco, "Andale Mono", monospace;
}
#issue_home_result_pages { #issue_home_result_pages {
margin-top: 1em; margin-top: 1em;
text-align: center; text-align: center;