diff --git a/assets/css/main.css b/assets/css/main.css
index 80ce79a..2da5f6d 100644
--- a/assets/css/main.css
+++ b/assets/css/main.css
@@ -355,46 +355,6 @@ a, a:hover, a:focus, a:active {
background-color: rgb(255,0,39);
}
-.rating {
- width: 46px;
- height: 46px;
- float: right;
- border-radius: 100%;
- background-color: #4D4D4D;
- margin: 15px 0 0 10px;
- position: relative;
-}
-
-.ratingInset {
- width: 46px;
- height: 46px;
- border-radius: 100%;
- background-color: #FF0027;
- position: absolute;
- /*left:-1.859px;*/
- /*bottom: 3px;*/
- clip: rect(0, 22px, 50px, 0);
- transform: rotate(-90deg);
-}
-
-.iconRating {
- width: 100%;
- height: 100%;
- position: absolute;
- left: 0;
- top: 0;
- background: url('../img/button12.png') no-repeat center;
-}
-
-.ratingPer {
- color: #ff2c2c;
- font-size: 18px;
- font-family: 'pfdintextcomppro-regular', sans-serif;
- float: right;
- margin: 28px 0 0 9px;
- cursor: pointer;
-}
-
.mainScore {
position: relative;
}
diff --git a/assets/img/avatars/avatar-female.jpg b/assets/img/avatars/avatar-female.jpg
new file mode 100644
index 0000000..8607377
Binary files /dev/null and b/assets/img/avatars/avatar-female.jpg differ
diff --git a/assets/img/avatars/avatar-male.jpg b/assets/img/avatars/avatar-male.jpg
new file mode 100644
index 0000000..9e5c876
Binary files /dev/null and b/assets/img/avatars/avatar-male.jpg differ
diff --git a/assets/js/chat.js b/assets/js/chat.js
index 4e83512..10ead9f 100644
--- a/assets/js/chat.js
+++ b/assets/js/chat.js
@@ -121,7 +121,10 @@ function updateCounts() {
}
$(function () {
-function dialog (message, yesCallback, notCallback) {
+ window.onhashchange = function (e) {
+ $('a[data-toggle="tab"][href="#'+location.hash.slice(1)+'"]').trigger("click");
+ };
+ function dialog(message, yesCallback, notCallback) {
$("#dialog_delete .modal-title").html(message);
$("#dialog_delete").modal('show');
$("#btnYes").click(function (e) {
@@ -138,6 +141,7 @@ function dialog (message, yesCallback, notCallback) {
var currentHash = URI(location.href).hash();
$('a[data-toggle="tab"]').on('show.bs.tab', function (e) {
+ console.log("TAB!");
var activeTab = $(this).attr('href').substring(1);
var liveHash = URI(location.href).hash();
@@ -155,7 +159,6 @@ function dialog (message, yesCallback, notCallback) {
case 'tab2':
console.log("tab2");
- // /api/message?recipent__id=5
updateCounts();
setTimeout(function () {
if (liveHash.indexOf("#order") == 0) {
diff --git a/chat/templates/inc-contact-card.html b/chat/templates/inc-contact-card.html
index fc3abbe..402b160 100644
--- a/chat/templates/inc-contact-card.html
+++ b/chat/templates/inc-contact-card.html
@@ -28,7 +28,11 @@
{% endthumbnail %}
{% else %}
-
+ {% if contact.gender == "female" %}
+
+ {% else %}
+
+ {% endif %}
{% endif %}
diff --git a/projects/templates/project_detail.html b/projects/templates/project_detail.html
index ddce2bb..e1e1174 100644
--- a/projects/templates/project_detail.html
+++ b/projects/templates/project_detail.html
@@ -41,7 +41,11 @@
{% endthumbnail %}
{% else %}
-
+ {% if project.customer.gender == "female" %}
+
+ {% else %}
+
+ {% endif %}
{% endif %}
@@ -235,7 +239,11 @@
{% endthumbnail %}
{% else %}
-
+ {% if answer.author.gender == "female" %}
+
+ {% else %}
+
+ {% endif %}
{% endif %}
@@ -252,7 +260,11 @@
{% endthumbnail %}
{% else %}
-
+ {% if answer.author.owner.gender == "female" %}
+
+ {% else %}
+
+ {% endif %}
{% endif %}
@@ -613,7 +625,11 @@
{% endthumbnail %}
{% else %}
-
+ {% if answer.author.gender == "female" %}
+
+ {% else %}
+
+ {% endif %}
{% endif %}
@@ -630,7 +646,11 @@
{% endthumbnail %}
{% else %}
-
+ {% if answer.author.owner.gender == "female" %}
+
+ {% else %}
+
+ {% endif %}
{% endif %}
@@ -827,7 +847,11 @@
{% endthumbnail %}
{% else %}
-
+ {% if answer.author.gender == "female" %}
+
+ {% else %}
+
+ {% endif %}
{% endif %}
@@ -844,7 +868,11 @@
{% endthumbnail %}
{% else %}
-
+ {% if answer.author.owner.gender == "female" %}
+
+ {% else %}
+
+ {% endif %}
{% endif %}
@@ -1044,7 +1072,11 @@
{% endthumbnail %}
{% else %}
-
+ {% if answer.author.gender == "female" %}
+
+ {% else %}
+
+ {% endif %}
{% endif %}
@@ -1061,7 +1093,11 @@
{% endthumbnail %}
{% else %}
-
+ {% if answer.author.owner.gender == "female" %}
+
+ {% else %}
+
+ {% endif %}
{% endif %}
diff --git a/templates/partials/header.html b/templates/partials/header.html
index 2de63d0..aa94290 100644
--- a/templates/partials/header.html
+++ b/templates/partials/header.html
@@ -27,7 +27,7 @@
+ {% if contractor.gender == "female" %}
+
+
+ {% if contractor.gender == "female" %}
+
+ {% if c.gender == "female" %}
+
+ {% if contractor.gender == "female" %}
+ {{ contractor.get_full_name }} [{{ contractor.username }}]
- +{{ contractor.get_location }}
- + {% if contractor.contractor_status == 'free' %}