mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 04:15:26 +00:00
@@ -768,7 +768,11 @@ iRANGE(2);
|
||||
|
||||
- (NSString *) organizerName
|
||||
{
|
||||
return [organizer mailAddress];
|
||||
NSDictionary *profile;
|
||||
|
||||
profile = [[[self organizerProfile] allValues] lastObject];
|
||||
|
||||
return [profile objectForKey: @"name"];
|
||||
}
|
||||
|
||||
// - (BOOL) canBeOrganizer
|
||||
|
||||
@@ -68,8 +68,9 @@
|
||||
</span></span>
|
||||
<var:if condition="hasOrganizer"
|
||||
><label id="organizerLabel"><var:string label:value="Organizer:"
|
||||
/><span class="content"><var:string
|
||||
value="organizerName"/></span></label>
|
||||
/><span class="content"><a var:href="organizer.email" var:email="organizer.email.rfc822Email"
|
||||
><var:string value="organizerName" /></a
|
||||
></span></label>
|
||||
</var:if>
|
||||
<!--<var:if condition="canBeOrganizer"
|
||||
><label id="organizerListLabel"><var:string label:value="Organizer:"
|
||||
@@ -214,7 +215,9 @@
|
||||
</label>
|
||||
<var:if condition="hasAttendees">
|
||||
<label id="organizerLabel"><var:string label:value="Organizer:"/>
|
||||
<span class="content"><var:string value="organizerName"/></span>
|
||||
<span class="content"><a var:href="organizer.email" var:email="organizer.email.rfc822Email"
|
||||
><var:string value="organizerName" /></a
|
||||
></span>
|
||||
</label>
|
||||
</var:if>
|
||||
<var:if condition="userHasRSVP">
|
||||
|
||||
@@ -111,10 +111,6 @@ SPAN.content > INPUT.textField
|
||||
LABEL#urlArea INPUT
|
||||
{ position: static; }
|
||||
|
||||
A#attendeesHref
|
||||
{ color: #00f;
|
||||
text-decoration: underline; }
|
||||
|
||||
DIV#attendeesMenu LI
|
||||
{ padding-left: 10px;
|
||||
width: auto; }
|
||||
|
||||
@@ -479,10 +479,7 @@ function setupAttendeeNode(aNode, aAttendee, isDelegate) {
|
||||
|
||||
function initializeAttendeesHref() {
|
||||
var attendeesHref = $("attendeesHref");
|
||||
var attendeesLabel = $("attendeesLabel");
|
||||
var attendeesNames = $("attendeesNames");
|
||||
|
||||
if (attendeesHref && !attendeesHref.hasClassName ("nomenu"))
|
||||
if (attendeesHref && !attendeesHref.hasClassName("nomenu"))
|
||||
attendeesHref.observe("click", onAttendeesHrefClick, false);
|
||||
refreshAttendees();
|
||||
}
|
||||
@@ -525,9 +522,13 @@ function onAppointmentEditorLoad() {
|
||||
initTimeWidgets(widgets);
|
||||
}
|
||||
|
||||
var organizer = $("organizerLabel");
|
||||
if (organizer && organizer.down("a")) {
|
||||
organizer.down("a").on("click", onMailTo);
|
||||
}
|
||||
|
||||
// Extend JSON representation of attendees
|
||||
attendees = $H(attendees);
|
||||
|
||||
initializeAttendeesHref();
|
||||
}
|
||||
|
||||
|
||||
@@ -124,7 +124,6 @@ function initializeDocumentHref() {
|
||||
var documentUrl = $("attach");
|
||||
|
||||
documentHref.observe("click", onPopupDocumentWindow, false);
|
||||
documentHref.setStyle({ textDecoration: "underline", color: "#00f" });
|
||||
if (documentUrl.value.length > 0) {
|
||||
documentHref.appendChild(document.createTextNode(documentUrl.value));
|
||||
documentLabel.setStyle({ display: "block" });
|
||||
|
||||
Reference in New Issue
Block a user