plugins/calendar

Thomas Brüderli bruederli at kolabsys.com
Sun Jul 13 15:32:40 CEST 2014


 plugins/calendar/lib/calendar_ui.php                   |    3 +-
 plugins/calendar/skins/classic/calendar.css            |   23 ++++++++++++++++-
 plugins/calendar/skins/larry/calendar.css              |   18 +++++++++----
 plugins/calendar/skins/larry/images/sendinvitation.png |binary
 4 files changed, 37 insertions(+), 7 deletions(-)

New commits:
commit b7d7d4513180941818cd0f70de2c941d3c551aac
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date:   Sun Jul 13 15:32:01 2014 +0200

    Improve inivitations sending checkbox header with accessibility label and better icon (#1790) + fix attendee table styles in classic skin

diff --git a/plugins/calendar/lib/calendar_ui.php b/plugins/calendar/lib/calendar_ui.php
index 4d03299..6e165ca 100644
--- a/plugins/calendar/lib/calendar_ui.php
+++ b/plugins/calendar/lib/calendar_ui.php
@@ -704,7 +704,8 @@ class calendar_ui
     $table->add_header('availability', $this->cal->gettext('availability'));
     $table->add_header('confirmstate', $this->cal->gettext('confirmstate'));
     if ($invitations) {
-      $table->add_header(array('class' => 'sendmail', 'title' => $this->cal->gettext('sendinvitations')), $invite->show(1));
+      $table->add_header(array('class' => 'sendmail', 'title' => $this->cal->gettext('sendinvitations')),
+        $invite->show(1) . html::label('edit-attendees-invite', $this->cal->gettext('sendinvitations')));
     }
     $table->add_header('options', '');
 
diff --git a/plugins/calendar/skins/classic/calendar.css b/plugins/calendar/skins/classic/calendar.css
index 880b3b4..2855635 100644
--- a/plugins/calendar/skins/classic/calendar.css
+++ b/plugins/calendar/skins/classic/calendar.css
@@ -806,26 +806,46 @@ td.topalign {
 	border: 1px solid #ccc;
 }
 
+.edit-attendees-table th,
 .edit-attendees-table td {
 	padding: 3px;
 	border-bottom: 1px solid #ccc;
+	text-align: left;
 }
 
+.edit-attendees-table th.role,
 .edit-attendees-table td.role {
 	width: 8em;
 }
 
+.edit-attendees-table th.availability,
+.edit-attendees-table th.confirmstate,
 .edit-attendees-table td.availability,
 .edit-attendees-table td.confirmstate {
 	width: 4em;
 }
 
+.edit-attendees-table th.options,
 .edit-attendees-table td.options {
-	width: 3em;
+	width: 2em;
 	text-align: right;
 	padding-right: 4px;
 }
 
+.edit-attendees-table th.sendmail,
+.edit-attendees-table td.sendmail {
+	width: 24px;
+	padding: 2px;
+	white-space: nowrap;
+	overflow: hidden;
+	text-overflow: hidden;
+}
+
+#eventedit .edit-attendees-table th.sendmail label {
+	display: none;
+}
+
+.edit-attendees-table th.name,
 .edit-attendees-table td.name {
 	width: auto;
 	white-space: nowrap;
@@ -833,6 +853,7 @@ td.topalign {
 	text-overflow: ellipsis;
 }
 
+.edit-attendees-table thead th,
 .edit-attendees-table thead td {
 	background: url(images/listheader.gif) top left repeat-x #CCC;
 }
diff --git a/plugins/calendar/skins/larry/calendar.css b/plugins/calendar/skins/larry/calendar.css
index 71f8350..9546a13 100644
--- a/plugins/calendar/skins/larry/calendar.css
+++ b/plugins/calendar/skins/larry/calendar.css
@@ -871,14 +871,22 @@ td.topalign {
 
 .edit-attendees-table th.sendmail,
 .edit-attendees-table td.sendmail {
-	width: 50px;
+	width: 44px;
 	padding: 2px;
 }
 
-.edit-attendees-table th.sendmail {
-	background-image: url(../../../../skins/larry/images/buttons.png);
-	background-position: 20px 4px;
-	background-repeat: no-repeat;
+#eventedit .edit-attendees-table th.sendmail label {
+	display: inline-block;
+	position: relative;
+	top: 4px;
+	width: 24px;
+	height: 18px;
+	min-width: 24px;
+	padding: 0;
+	overflow: hidden;
+	text-indent: -5000px;
+	white-space: nowrap;
+	background: url(images/sendinvitation.png) 1px 0 no-repeat;
 }
 
 .edit-attendees-table th.name,
diff --git a/plugins/calendar/skins/larry/images/sendinvitation.png b/plugins/calendar/skins/larry/images/sendinvitation.png
new file mode 100644
index 0000000..ecdaa09
Binary files /dev/null and b/plugins/calendar/skins/larry/images/sendinvitation.png differ




More information about the commits mailing list