Project

General

Profile

Feature #5298

Peso del profesor en la session actual

Added by Yoselyn Castillo almost 9 years ago. Updated over 8 years ago.

Status:
Feature implemented
Priority:
Normal
Assignee:
-
Category:
Documents
Target version:
Start date:
10/08/2012
Due date:
% Done:

100%

Estimated time:
Spent time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

esta tarea viene de la #4483, donde se propuso "mostrar el peso que ocupa el profesor del curso en la session actual", referente a la catidad de documentos que ha subido cada profe.


Files

document_quota.php (4.49 KB) document_quota.php Yoselyn Castillo, 10/01/2013 19:19
document_quota.php (5.15 KB) document_quota.php Yoselyn Castillo, 18/01/2013 20:40
document_quota.php (5.15 KB) document_quota.php Yoselyn Castillo, 22/01/2013 14:41
Selección_068.jpeg (12.2 KB) Selección_068.jpeg Julio Bonifacio Aliaga, 11/02/2013 23:03

Associated revisions

Revision fe262dca (diff)
Added by Yoselyn Castillo over 8 years ago

Fixing document quota see #5298

Revision 32bf3dce (diff)
Added by Julio Montoya over 8 years ago

Minor - using the "complete_name" key see #5298

History

#1

Updated by Yannick Warnier over 8 years ago

  • Target version set to 1.9.4
#2

Updated by Yannick Warnier over 8 years ago

  • Target version changed from 1.9.4 to 1.9.6
#3

Updated by Yoselyn Castillo over 8 years ago

  • Status changed from New to Assigned
  • Assignee set to Yoselyn Castillo
#4

Updated by Yoselyn Castillo over 8 years ago

This shows the weight of teacher, referring to weight of documents uploaded by him inside the course. I am working now in showing the weight inside one session (in case of session view)

#5

Updated by Yoselyn Castillo over 8 years ago

Upload this. Is for showing Weight of teacher in session if the course has been accessed by a session.
Please I have used a text which needs to be created
'Teacherinsession'
Translate:
ES: "Peso del Profesor en esta session"
Thanks

#6

Updated by Julio Montoya over 8 years ago

There's a problem in this line:

$session[] = array(get_lang('Course').' ('.format_file_size($quota_bytes).')', $quota_percentage);

the variables $quota_bytes and $quota_percentage are never set

#7

Updated by Julio Montoya over 8 years ago

  • Status changed from Assigned to Needs more info
  • Assignee changed from Julio Montoya to Yoselyn Castillo
#8

Updated by Yoselyn Castillo over 8 years ago

Verifying this..

#9

Updated by Yoselyn Castillo over 8 years ago

Fixed. Upload this

#10

Updated by Yoselyn Castillo over 8 years ago

  • Status changed from Needs more info to Assigned
  • Assignee changed from Yoselyn Castillo to Julio Montoya
#11

Updated by Julio Montoya over 8 years ago

  • Status changed from Assigned to Needs testing
  • Assignee deleted (Julio Montoya)
  • % Done changed from 0 to 90

I uploaded the file. Remember there's a shortcut for the user's name you can use this:

$user_info      = api_get_user_info($user_id);
$user_name = $user_info['complete_name'];

The $user_name variable will contain something like: "Joe Doe" or "Doe Joe" depending of the platform settings.

#12

Updated by Yannick Warnier over 8 years ago

  • Category set to Documents
  • Assignee set to Julio Bonifacio Aliaga

Para probar...

#13

Updated by Julio Bonifacio Aliaga over 8 years ago

It shows the weight and the full name of the teacher in the diagram.
attached screenshot

Also available in: Atom PDF