Mailinglist Archive: yast-commit (883 mails)

< Previous Next >
[yast-commit] <web-client> master : Remove all empty 'alt=' tags
  • From: Klaus Kämpf <kkaempf@xxxxxxx>
  • Date: Wed, 15 Jul 2009 10:37:35 +0200
  • Message-id: <E1MQzzi-0002xP-BC@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit a8b23a8cb484a9735881979a22df51be165720cf
Author: Klaus Kämpf <kkaempf@xxxxxxx>
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">
- <img src= <%=@update_image%> alt="" height="32" width="32" border="0">
+ <img src= <%=@update_image%> 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" %>
<!--
FIXME may be add remove and edit buttons and get rid of the icons above
<input class="button disabled" disabled="true" type="submit"
value="Remove" id="remove-printer"/>
diff --git a/webclient/app/views/hosts/new.html.erb
b/webclient/app/views/hosts/new.html.erb
index 0f27191..cba9a96 100644
--- a/webclient/app/views/hosts/new.html.erb
+++ b/webclient/app/views/hosts/new.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"><%=_("WebYaST-Host")%></th>
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages