Revision 52784759

b/snf-astakos-app/astakos/im/forms.py
914 914
            _(astakos_messages.DOMAIN_VALUE_ERR),
915 915
            'invalid'
916 916
        )],
917
        widget=forms.TextInput(attrs={'placeholder': 'eg. foo.ece.ntua.gr'}),
918
        help_text="Name should be in the form of dns"
917
        widget=forms.TextInput(attrs={'placeholder': 'myproject.mylab.ntua.gr'}),
918
        help_text=" The Project's name should be in a domain format. The domain shouldn't neccessarily exist in the real world but is helpful to imply a structure. e.g.: myproject.mylab.ntua.gr or myservice.myteam.myorganization "
919 919
    )
920
    homepage = forms.URLField(
921
        help_text="This should be a URL pointing at your project's site. e.g.: http://myproject.com ",
922
        widget=forms.TextInput(attrs={'placeholder': 'http://myproject.com'}),
923
        
924
        required=False
925
     )
920 926
    comments = forms.CharField(widget=forms.Textarea, required=False)
921 927
    
922 928
    class Meta:
b/snf-astakos-app/astakos/im/models.py
1372 1372
                                                     blank=True,
1373 1373
                                                     db_index=True)
1374 1374

  
1375
    name                    =   models.CharField(max_length=80)
1375
    name                    =   models.CharField(max_length=80, help_text=" The Project's name should be in a domain format. The domain shouldn't neccessarily exist in the real world but is helpful to imply a structure. e.g.: myproject.mylab.ntua.gr or myservice.myteam.myorganization ",)
1376 1376
    homepage                =   models.URLField(max_length=255, null=True,
1377
                                                blank=True)
1378
    description             =   models.TextField(null=True, blank=True)
1379
    start_date              =   models.DateTimeField()
1380
    end_date                =   models.DateTimeField()
1377
                                                blank=True,help_text="This should be a URL pointing at your project's site. e.g.: http://myproject.com ",)
1378
    description             =   models.TextField(null=True, blank=True,help_text= "Please provide a short but descriptive abstract of your Project, so that anyone searching can quickly understand what this Project is about. ")
1379
    start_date              =   models.DateTimeField(help_text= "Here you specify the date you want your Project to start granting its resources. Its members will get the resources coming from this Project on this exact date.")
1380
    end_date                =   models.DateTimeField(help_text= "Here you specify the date you want your Project to cease. This means that after this date all members will no longer be able to allocate resources from this Project.  ")
1381 1381
    member_join_policy      =   models.ForeignKey(MemberJoinPolicy)
1382 1382
    member_leave_policy     =   models.ForeignKey(MemberLeavePolicy)
1383 1383
    limit_on_members_number =   models.PositiveIntegerField(null=True,
1384
                                                            blank=True)
1384
                                                            blank=True,help_text= "Here you specify the number of members this Project is going to have. This means that this number of people will be granted the resources you will specify in the next step. This can be '1' if you are the only one wanting to get resources. ")
1385 1385
    resource_grants         =   models.ManyToManyField(
1386 1386
                                    Resource,
1387 1387
                                    null=True,

Also available in: Unified diff