ref: refs/heads/master
commit a8b23a8cb484a9735881979a22df51be165720cf
Author: Klaus Kämpf
Date: Wed Jul 15 10:37:35 2009 +0200
Remove all empty 'alt=' tags
---
webclient/app/views/controlpanel/index.rhtml | 8 ++++----
webclient/app/views/controlpanel/show_all.rhtml | 2 +-
webclient/app/views/hosts/edit.html.erb | 4 ++--
webclient/app/views/hosts/index.html.erb | 2 +-
webclient/app/views/hosts/new.html.erb | 4 ++--
5 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/webclient/app/views/controlpanel/index.rhtml b/webclient/app/views/controlpanel/index.rhtml
index eb9bc8d..bfb6e17 100644
--- a/webclient/app/views/controlpanel/index.rhtml
+++ b/webclient/app/views/controlpanel/index.rhtml
@@ -1,22 +1,22 @@
-<h3><img src="/images/monitoring.png" alt="" height="23" width="23" border="0"> <%= _("Status") %></h3>
+<h3><img src="/images/monitoring.png" height="23" width="23" border="0"> <%= _("Status") %></h3>
<div id="status_patches_icon">
- alt="" height="32" width="32" border="0">
+ height="32" width="32" border="0">
</div>
<div id="status_patches_msg">
<a href="patch_updates"><%=@update_label%></a>
</div>
<br>
<div id="status_health_icon">
- <img src="/images/button_ok.png" alt="" height="32" width="32" border="0">
+ <img src="/images/button_ok.png" height="32" width="32" border="0">
</div>
<div id="status_health_msg">
<a href=""><%= _("Your system is healthy.") %></a>
</div>
<div id="favorites">
-<h3><img src="/images/yast-config.png" alt="" height="23" width="23" border="0"> <%= _("Configuration") %></h3>
+<h3><img src="/images/yast-config.png" height="23" width="23" border="0"> <%= _("Configuration") %></h3>
<% line_counter = 0 %>
<% shortcuts_counter = 0 %>
diff --git a/webclient/app/views/controlpanel/show_all.rhtml b/webclient/app/views/controlpanel/show_all.rhtml
index 80bb280..d4d181e 100644
--- a/webclient/app/views/controlpanel/show_all.rhtml
+++ b/webclient/app/views/controlpanel/show_all.rhtml
@@ -1,4 +1,4 @@
-<h2><img src="/images/yast-config.png" alt="" height="23" width="23" border="0"> <%= _("Configuration") %></h2>
+<h2><img src="/images/yast-config.png" height="23" width="23" border="0"> <%= _("Configuration") %></h2>
<% @shortcut_groups.each do |name, shortcuts| %>
<h3><%= name %></h3>
diff --git a/webclient/app/views/hosts/edit.html.erb b/webclient/app/views/hosts/edit.html.erb
index df11d97..e9a1176 100644
--- a/webclient/app/views/hosts/edit.html.erb
+++ b/webclient/app/views/hosts/edit.html.erb
@@ -4,8 +4,8 @@
<%= f.error_messages %>
<div class="table">
- <img src="/images/bg-th-left.gif" width="8" height="7" alt="" class="left" />
- <img src="/images/bg-th-right.gif" width="7" height="7" alt="" class="right" />
+ <img src="/images/bg-th-left.gif" width="8" height="7" class="left" />
+ <img src="/images/bg-th-right.gif" width="7" height="7" class="right" />
<table class="listing form" cellpadding="0" cellspacing="0">
<tr>
<th class="full" colspan="2"><%=_("YaST-Web-Service")%></th>
diff --git a/webclient/app/views/hosts/index.html.erb b/webclient/app/views/hosts/index.html.erb
index bc7ab27..feb6e34 100644
--- a/webclient/app/views/hosts/index.html.erb
+++ b/webclient/app/views/hosts/index.html.erb
@@ -36,7 +36,7 @@
</tbody>
</table>
- <input class="button jqModal" type="submit" value="Add" id="add-host" />
+ <%= link_to _('Add'), new_host_path, :class => "button" %>
Reply