Hello,

The attached patch makes viewing diffs easy between a newer revision of a config file in Spacewalk and an older one that is deployed on a system.

Thanks,

Joshua Roys
diff --git 
a/java/code/webapp/WEB-INF/pages/configuration/sdc/viewdiffresult.jsp 
b/java/code/webapp/WEB-INF/pages/configuration/sdc/viewdiffresult.jsp
index 8be4aef..4a4f7ed 100644
--- a/java/code/webapp/WEB-INF/pages/configuration/sdc/viewdiffresult.jsp
+++ b/java/code/webapp/WEB-INF/pages/configuration/sdc/viewdiffresult.jsp
@@ -73,9 +73,9 @@
        </tr>
        <tr>
                <th><bean:message key="sdc.config.diff_result.diff"/>:</th>
-                       <td><c:out 
value="${revisionBean.configRevisionActionResult.resultContents}"/>
+                       <td><pre style="word-wrap: break-word; white-space: 
-moz-pre-wrap; white-space: pre-wrap;"><c:out 
value="${revisionBean.configRevisionActionResult.resultContents}"/></pre>
                        </td>
        </tr>   
 </table>
 </p>
-</body>
\ No newline at end of file
+</body>
_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to