Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 KB | None | 0 0
  1. public class UserProfileModels
  2. {
  3. [Key]
  4. public string UserProfileID { get; set; } // Same as User ID
  5. public string UserProfilePictureURL { get; set; }
  6. public string UserProfileCompanyID { get; set; } // Same as Company ID
  7. // IF UserProfileCompanyID is empty then EU is an individual and the following fields are available
  8. // Else Get the information from the CompanyProfile
  9.  
  10. public string UserProfileStreet { get; set; }
  11. public string UserProfileTown { get; set; }
  12. public string UserProfileCountry { get; set; } // Allows us to decide on currency, TimeZone, State / County, Post Code / Zip etc
  13. public string UserProfileState { get; set; }
  14. public string UserProfilePostCode { get; set; }
  15. public string UserProfileDOB { get; set; } // Date Of Birth
  16. public string UserProfileSex { get; set; }
  17.  
  18. public string UserProfileRole { get; set; }
  19. // IF Role is > "Client" then the following fields are to be used.
  20. public string UserProfileTelephoneNumber { get; set; }
  21. public string UserProfileMobileNumber { get; set; }
  22.  
  23. public List<UserLanguageModels> UserLanguages { get; set; }
  24.  
  25. public List<UserProfilePendingItems> UserPendingItems { get; set; }
  26.  
  27. }
  28.  
  29. public class UserProfilePendingItems
  30. {
  31. public string UserProfileID { get; set; }
  32. public string UserProfileDescription { get; set; }
  33. }
  34.  
  35. public class UserLanguageModels
  36. {
  37. public string UserProfileID { get; set; }
  38. public string UserLanguage { get; set; }
  39. }
  40.  
  41. <ul class="dropdown-menu extended tasks-bar">
  42. <div class="notify-arrow notify-arrow-green"></div>
  43. <li>
  44. <p class="green">@ViewBag.PendingMessages.Count()</p>
  45. </li>
  46.  
  47. @foreach (CCSLABS.Controllers.Administration.AdministrationController.UserProfile Message in ViewBag.PendingMessages)
  48. {
  49.  
  50. <li>
  51. <a href="index.html#">
  52. <div class="task-info">
  53.  
  54. <div class="desc">@Message.UserPendingItems.</div>
  55. <div class="percent">40%</div>
  56. </div>
  57. <div class="progress progress-striped">
  58. <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
  59. <span class="sr-only">40% Complete (success)</span>
  60. </div>
  61. </div>
  62. </a>
  63. </li>
  64. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement